diff options
| author | 2026-09-17 11:05:45 +0200 | |
|---|---|---|
| committer | 2026-09-17 11:05:45 +0200 | |
| commit | ae3fa667bda75f11881c9209dc67226f98bcfd95 (patch) | |
| tree | 1c2b16d8a97342fa608a15583ecc85ff0ec968eb /hosts/template/hardware-configuration.nix | |
| download | desktop-flake-ae3fa667bda75f11881c9209dc67226f98bcfd95.tar.gz desktop-flake-ae3fa667bda75f11881c9209dc67226f98bcfd95.tar.bz2 desktop-flake-ae3fa667bda75f11881c9209dc67226f98bcfd95.zip | |
Add cross-platform Nix flake bootstrap
Adds a flake providing shared modules for NixOS and standalone
home-manager, a copyable NixOS host template, and the OpenSpec
tooling/change scaffolding used to plan this work.
Diffstat (limited to 'hosts/template/hardware-configuration.nix')
| -rw-r--r-- | hosts/template/hardware-configuration.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/hosts/template/hardware-configuration.nix b/hosts/template/hardware-configuration.nix new file mode 100644 index 0000000..a074323 --- /dev/null +++ b/hosts/template/hardware-configuration.nix | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | # Placeholder. Replace this entire file with the real output of: | ||
| 2 | # nixos-generate-config --root /mnt | ||
| 3 | # run against the target machine after partitioning and mounting it. | ||
| 4 | # The commented example below shows the shape of a real generated file — | ||
| 5 | # do not uncomment and use these values as-is, they describe no real disk. | ||
| 6 | { modulesPath, ... }: | ||
| 7 | { | ||
| 8 | imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; | ||
| 9 | |||
| 10 | # boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ]; | ||
| 11 | # boot.initrd.kernelModules = [ ]; | ||
| 12 | # boot.kernelModules = [ ]; | ||
| 13 | # boot.extraModulePackages = [ ]; | ||
| 14 | # | ||
| 15 | # fileSystems."/" = { | ||
| 16 | # device = "/dev/disk/by-uuid/CHANGEME"; | ||
| 17 | # fsType = "ext4"; | ||
| 18 | # }; | ||
| 19 | # | ||
| 20 | # fileSystems."/boot" = { | ||
| 21 | # device = "/dev/disk/by-uuid/CHANGEME"; | ||
| 22 | # fsType = "vfat"; | ||
| 23 | # }; | ||
| 24 | # | ||
| 25 | # swapDevices = [ ]; | ||
| 26 | } | ||
