Add ptp_kvm for vms
Some checks failed
Run nix flake check / flake-check (push) Failing after 9m10s

This commit is contained in:
Torjus Håkestad 2025-03-16 08:22:07 +01:00
parent 073a1c94dd
commit e279e7d940
Signed by: torjus
SSH Key Fingerprint: SHA256:KjAds8wHfD2mBYK2H815s/+ABcSdcIHUndwHEdSxml4

View File

@ -1,4 +1,10 @@
{ config, lib, pkgs, modulesPath, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports = [
@ -11,19 +17,18 @@
"virtio_scsi"
"sd_mod"
"sr_mod"
"ptp_kvm"
];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{
fileSystems."/" = {
device = "/dev/disk/by-label/root";
fsType = "xfs";
};
swapDevices =
[{ device = "/dev/disk/by-label/swap"; }];
swapDevices = [ { device = "/dev/disk/by-label/swap"; } ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
@ -34,4 +39,3 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}