Personal-use NixOS configuration
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 46 lines 826 B view raw
1{ 2 config, 3 lib, 4 modulesPath, 5 ... 6}: 7 8{ 9 imports = [ 10 (modulesPath + "/installer/scan/not-detected.nix") 11 ]; 12 13 boot.initrd.availableKernelModules = [ 14 "nvme" 15 "mpt3sas" 16 "xhci_pci" 17 "ahci" 18 "usbhid" 19 "usb_storage" 20 "sd_mod" 21 "sr_mod" 22 ]; 23 boot.initrd.kernelModules = [ ]; 24 boot.kernelModules = [ "kvm-amd" ]; 25 boot.extraModulePackages = [ ]; 26 27 fileSystems."/" = { 28 device = "/dev/disk/by-uuid/5dbd27ba-b737-4452-bdf6-702941c023a0"; 29 fsType = "xfs"; 30 }; 31 32 fileSystems."/boot" = { 33 device = "/dev/disk/by-uuid/1857-DC29"; 34 fsType = "vfat"; 35 options = [ 36 "fmask=0077" 37 "dmask=0077" 38 ]; 39 }; 40 41 swapDevices = [ ]; 42 43 networking.useDHCP = lib.mkDefault true; 44 45 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 46}