hardware-configuration.nix
1 { config, lib, pkgs, modulesPath, ... }: 2 3 { 4 imports = [ ]; 5 6 boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ]; 7 boot.initrd.kernelModules = [ ]; 8 boot.kernelModules = [ ]; 9 boot.extraModulePackages = [ ]; 10 11 fileSystems."/" = { 12 device = "/dev/disk/by-uuid/f9e9468f-ff3b-430d-9ecf-ba275cf2f716"; 13 fsType = "ext4"; 14 }; 15 16 swapDevices = [ ]; 17 18 networking.useDHCP = lib.mkDefault true; 19 20 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 21 virtualisation.hypervGuest.enable = true; 22 }