From 3ae1457bc45a0cc08b30cc63b92f47eecff56a14 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 25 Apr 2023 21:59:08 -0400 Subject: hosts: init atlas --- hosts/atlas/hardware-configuration.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 hosts/atlas/hardware-configuration.nix (limited to 'hosts/atlas/hardware-configuration.nix') diff --git a/hosts/atlas/hardware-configuration.nix b/hosts/atlas/hardware-configuration.nix new file mode 100644 index 0000000..f3a929f --- /dev/null +++ b/hosts/atlas/hardware-configuration.nix @@ -0,0 +1,18 @@ +{modulesPath, ...}: { + imports = [(modulesPath + "/profiles/qemu-guest.nix")]; + boot.loader.grub = { + efiSupport = true; + efiInstallAsRemovable = true; + device = "nodev"; + }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/EC6B-53AA"; + fsType = "vfat"; + }; + boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront"]; + boot.initrd.kernelModules = ["nvme"]; + fileSystems."/" = { + device = "/dev/sda1"; + fsType = "ext4"; + }; +} -- cgit v1.2.3