diff options
author | ene <ene@sils.li> | 2023-03-20 15:07:15 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-20 15:07:15 +0100 |
commit | c3b22b5f2825a0c25879f2661d722e8bb026637a (patch) | |
tree | 32b4eff83c0bd0b6cd35a431f9c5aaba3e535ae6 /hosts/server1/hardware.nix | |
parent | Merge branch 'server1_mail' into server1_develop (diff) | |
parent | Revert "Fix(hosts/server1/networking): Remove ipv6 route" (diff) | |
download | nixos-server-c3b22b5f2825a0c25879f2661d722e8bb026637a.tar.gz nixos-server-c3b22b5f2825a0c25879f2661d722e8bb026637a.zip |
Merge branch 'server1_hardware' into server1_develop
Diffstat (limited to 'hosts/server1/hardware.nix')
-rw-r--r-- | hosts/server1/hardware.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/server1/hardware.nix b/hosts/server1/hardware.nix new file mode 100644 index 0000000..9fabafe --- /dev/null +++ b/hosts/server1/hardware.nix @@ -0,0 +1,9 @@ +{modulesPath, ...}: { + imports = [ + (modulesPath + "/profiles/qemu-guest.nix") + (modulesPath + "/profiles/headless.nix") + ]; + boot.loader.grub.device = "/dev/vda"; + boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk"]; + boot.initrd.kernelModules = []; +} |