diff options
Diffstat (limited to 'hosts/atlas/hardware-configuration.nix')
| -rw-r--r-- | hosts/atlas/hardware-configuration.nix | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/hosts/atlas/hardware-configuration.nix b/hosts/atlas/hardware-configuration.nix index f3a929f..46b295b 100644 --- a/hosts/atlas/hardware-configuration.nix +++ b/hosts/atlas/hardware-configuration.nix @@ -1,18 +1,22 @@ {modulesPath, ...}: { - imports = [(modulesPath + "/profiles/qemu-guest.nix")]; - boot.loader.grub = { - efiSupport = true; - efiInstallAsRemovable = true; - device = "nodev"; + imports = [ + (modulesPath + "/profiles/qemu-guest.nix") + ]; + + boot.initrd.availableKernelModules = ["virtio_pci" "usbhid"]; + boot.initrd.kernelModules = []; + boot.kernelModules = []; + boot.extraModulePackages = []; + + fileSystems."/" = { + device = "/dev/disk/by-uuid/f0c84809-83f5-414b-a973-496d25d74c6d"; + fsType = "ext4"; }; + fileSystems."/boot" = { - device = "/dev/disk/by-uuid/EC6B-53AA"; + device = "/dev/disk/by-uuid/A253-0826"; fsType = "vfat"; }; - boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront"]; - boot.initrd.kernelModules = ["nvme"]; - fileSystems."/" = { - device = "/dev/sda1"; - fsType = "ext4"; - }; + + swapDevices = []; } |
