summaryrefslogtreecommitdiff
path: root/hosts/atlas/hardware-configuration.nix
diff options
context:
space:
mode:
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";
+ };
+}