chore: initial commit
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# ┌───────────────────────────────────────────────────────────────────────┐
|
||||
# │ PLACEHOLDER — REPLACE THIS FILE. │
|
||||
# │ │
|
||||
# │ Generate the real one for YOUR machine: │
|
||||
# │ sudo nixos-generate-config --show-hardware-config \ │
|
||||
# │ > hosts/example/hardware-configuration.nix │
|
||||
# │ │
|
||||
# │ The values below are dummies. They let the flake EVALUATE and BUILD │
|
||||
# │ (UUIDs are just strings until activation), so `nix flake check` stays │
|
||||
# │ green — but this config will NOT boot on real hardware until replaced. │
|
||||
# └───────────────────────────────────────────────────────────────────────┘
|
||||
|
||||
{ lib, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/00000000-0000-0000-0000-000000000000";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/0000-0000";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
}
|
||||
Reference in New Issue
Block a user