at main 1.7 kB view raw
1# Do not modify this file! It was generated by ‘nixos-generate-config’ 2# and may be overwritten by future invocations. Please make changes 3# to /etc/nixos/configuration.nix instead. 4{ 5 config, 6 lib, 7 modulesPath, 8 ... 9}: 10{ 11 imports = [ 12 (modulesPath + "/installer/scan/not-detected.nix") 13 ]; 14 15 boot.initrd.availableKernelModules = [ 16 "xhci_pci" 17 "ehci_pci" 18 "ahci" 19 "usbhid" 20 "usb_storage" 21 "sd_mod" 22 "sr_mod" 23 ]; 24 boot.initrd.kernelModules = [ ]; 25 boot.kernelModules = [ "kvm-intel" ]; 26 boot.extraModulePackages = [ ]; 27 28 fileSystems."/" = { 29 device = "/dev/disk/by-uuid/738969fe-b2a0-4fa1-9ac5-69f2a25536e7"; 30 fsType = "btrfs"; 31 }; 32 33 fileSystems."/boot" = { 34 device = "/dev/disk/by-uuid/62FD-C60A"; 35 fsType = "vfat"; 36 options = [ 37 "fmask=0022" 38 "dmask=0022" 39 ]; 40 }; 41 42 fileSystems."/var/lib/garage/data" = { 43 device = "/dev/disk/by-uuid/99607c97-0dc6-403e-b09a-7b40735f9176"; 44 fsType = "xfs"; 45 }; 46 47 swapDevices = [ 48 { device = "/dev/disk/by-uuid/902b902d-3486-49de-9a58-7a079c9a090d"; } 49 ]; 50 51 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 52 # (the default) this is the recommended approach. When using systemd-networkd it's 53 # still possible to use this option, but it's recommended to use it in conjunction 54 # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 55 networking.useDHCP = lib.mkDefault true; 56 # networking.interfaces.eno1.useDHCP = lib.mkDefault true; 57 58 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 59 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 60}