summaryrefslogtreecommitdiff
path: root/hosts/atlas/hardware-configuration.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-04-25 21:59:08 -0400
committerseth <[email protected]>2023-04-25 22:01:13 -0400
commit3ae1457bc45a0cc08b30cc63b92f47eecff56a14 (patch)
tree5b6fc8c8708803a6e5ac6082666f55b1917d9b94 /hosts/atlas/hardware-configuration.nix
parent4e397cca0363f0c2b7ff53785ad0c3f63194ee07 (diff)
hosts: init atlas
Diffstat (limited to 'hosts/atlas/hardware-configuration.nix')
-rw-r--r--hosts/atlas/hardware-configuration.nix18
1 files changed, 18 insertions, 0 deletions
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";
+ };
+}