hardware-frame.nix (1082B)
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 { config, lib, pkgs, modulesPath, ... }: 5 6 { 7 imports = 8 [ 9 (modulesPath + "/installer/scan/not-detected.nix") 10 ]; 11 12 boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usbhid" "usb_storage" ]; 13 boot.initrd.kernelModules = [ "dm-snapshot" ]; 14 boot.kernelModules = [ "kvm-amd" ]; 15 boot.extraModulePackages = [ ]; 16 17 fileSystems."/" = 18 { 19 device = "/dev/disk/by-uuid/69e780cc-9ee1-4987-99eb-6c452ae66855"; 20 fsType = "ext4"; 21 }; 22 23 fileSystems."/boot" = 24 { 25 device = "/dev/disk/by-uuid/7000-6EA2"; 26 fsType = "vfat"; 27 options = [ "fmask=0022" "dmask=0022" ]; 28 }; 29 30 swapDevices = 31 [ 32 { device = "/dev/disk/by-uuid/fb532c05-67d1-4983-a518-e2616369b6ae"; } 33 ]; 34 35 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 36 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 37 }