From ec7f43a1cc06732874ef183ac73d9385a583022f Mon Sep 17 00:00:00 2001 From: ene Date: Sat, 4 Feb 2023 12:07:30 +0100 Subject: 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. --- hardware-configuration.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'hardware-configuration.nix') 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"]; -- cgit 1.4.1