diff options
| author | schererleander <leander@schererleander.de> | 2026-02-05 12:03:07 +0100 |
|---|---|---|
| committer | schererleander <leander@schererleander.de> | 2026-02-05 15:19:41 +0100 |
| commit | 3b13d9a2a367db84d48940460532c17a374bb488 (patch) | |
| tree | 599110a39c4baecf3991fe9a58d0103a43c38896 /modules/hosts/sachiel/hardware-configuration.nix | |
| parent | 46aa4842b98d9215baca00060c233f386a0c2188 (diff) | |
feat(modules): use dendritic pattern
Diffstat (limited to 'modules/hosts/sachiel/hardware-configuration.nix')
| -rw-r--r-- | modules/hosts/sachiel/hardware-configuration.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/modules/hosts/sachiel/hardware-configuration.nix b/modules/hosts/sachiel/hardware-configuration.nix new file mode 100644 index 0000000..e188fae --- /dev/null +++ b/modules/hosts/sachiel/hardware-configuration.nix @@ -0,0 +1,39 @@ +{ + flake.modules.nixos.sachiel = + { ... }: + { + 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" + "virtio_net" + "virtio_pci" + "virtio_mmio" + "virtio_blk" + "virtio_scsi" + "9p" + "9pnet_virtio" + ]; + boot.initrd.kernelModules = [ + "nvme" + "virtio_balloon" + "virtio_console" + "virtio_rng" + "virtio_gpu" + ]; + fileSystems."/" = { + device = "/dev/vda1"; + fsType = "ext4"; + }; + }; +} |
