diff options
author | ene <ene@sils.li> | 2023-02-04 12:07:30 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-04 12:07:30 +0100 |
commit | ec7f43a1cc06732874ef183ac73d9385a583022f (patch) | |
tree | cf4c85598bc301c63c174cd9d771770fc0db213f /hardware-configuration.nix | |
parent | Merge pull request 'User Configuration' (#12) from server1_users into server1 (diff) | |
download | nixos-server-ec7f43a1cc06732874ef183ac73d9385a583022f.tar.gz nixos-server-ec7f43a1cc06732874ef183ac73d9385a583022f.zip |
Feat: Imported the headless profile
We run a headless server, so some things, like emergency boot mode, don't really make sense. This import disables these.
Diffstat (limited to '')
-rw-r--r-- | hardware-configuration.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix index 76cdb1e..d960da6 100644 --- a/hardware-configuration.nix +++ b/hardware-configuration.nix @@ -1,5 +1,8 @@ {modulesPath, ...}: { - imports = [(modulesPath + "/profiles/qemu-guest.nix")]; + imports = [ + (modulesPath + "/profiles/qemu-guest.nix") + (modulesPath + "/profiles/headless.nix") + ]; boot.loader.grub.device = "/dev/vda"; boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"]; boot.initrd.kernelModules = ["nvme" "btrfs"]; |