nix-deploy/config/hosts/grondahl/hardware-configuration.nix

23 lines
609 B
Nix
Raw Permalink Normal View History

2021-09-23 16:45:06 +02:00
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
2023-11-29 15:09:10 +01:00
#(modulesPath + "/profiles/minimal.nix")
2021-09-23 16:45:06 +02:00
];
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sr_mod" "virtio_blk" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/8c343c61-87b5-493c-984c-634f59814f3d";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/2cd0615d-c517-4153-907e-6d8dd9d0e7fc"; }
];
}