char/flake
nixos flake
git clone https://git.t4t.associates/char/flake
f6f8216
main
1{ config 2, lib 3, modulesPath 4, ... 5} : 6{ 7imports = [ 8( modulesPath + "/installer/scan/not-detected.nix" ) 9]; 10 11boot . initrd . availableKernelModules = [ 12"xhci_pci" 13"thunderbolt" 14"nvme" 15]; 16boot . initrd . kernelModules = [ ]; 17boot . kernelModules = [ "kvm-intel" ]; 18boot . extraModulePackages = [ ]; 19 20fileSystems . "/" = { 21device = "/dev/disk/by-uuid/13f110b2-0cb6-4f22-a3c1-5d764d0ba9f7" ; 22fsType = "ext4" ; 23}; 24 25fileSystems . "/boot" = { 26device = "/dev/disk/by-uuid/60C6-4ADE" ; 27fsType = "vfat" ; 28}; 29 30swapDevices = [{ device = "/dev/disk/by-uuid/7919a726-42b5-4b5d-b8f5-7f556049ebc1" ; }]; 31 32networking . useDHCP = lib . mkDefault true ; 33 34nixpkgs . hostPlatform = lib . mkDefault "x86_64-linux" ; 35powerManagement . cpuFreqGovernor = lib . mkDefault "powersave" ; 36hardware . cpu . intel . updateMicrocode = lib . mkDefault config . hardware . enableRedistributableFirmware ; 37}