aboutsummaryrefslogtreecommitdiff
path: root/hosts/sachiel/hardware-configuration.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-08-17 00:03:59 +0200
committerschererleander <leander@schererleander.de>2025-08-17 00:07:48 +0200
commit24c99cf22e012e07509505b4efdc528589008dd4 (patch)
tree7a1eaa310fe747fe910286eac3c047f936a4a129 /hosts/sachiel/hardware-configuration.nix
parent3bb78df81f840bc542140129c488050628b40881 (diff)
feat: rename hosts
Diffstat (limited to 'hosts/sachiel/hardware-configuration.nix')
-rw-r--r--hosts/sachiel/hardware-configuration.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/hosts/sachiel/hardware-configuration.nix b/hosts/sachiel/hardware-configuration.nix
new file mode 100644
index 0000000..68ab0a2
--- /dev/null
+++ b/hosts/sachiel/hardware-configuration.nix
@@ -0,0 +1,14 @@
+{ modulesPath, ... }:
+{
+ imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
+ boot.loader.grub = {
+ efiSupport = true;
+ efiInstallAsRemovable = true;
+ device = "nodev";
+ };
+ fileSystems."/boot" = { device = "/dev/disk/by-uuid/4E07-7ABB"; fsType = "vfat"; };
+ boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
+ boot.initrd.kernelModules = [ "nvme" ];
+ fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
+
+}