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 pkgs, 8 modulesPath, 9 ... 10}: 11 12{ 13 imports = [ 14 (modulesPath + "/installer/scan/not-detected.nix") 15 ]; 16 17 boot.initrd.availableKernelModules = [ 18 "nvme" 19 "xhci_pci" 20 "ahci" 21 "usb_storage" 22 "usbhid" 23 "sd_mod" 24 ]; 25 boot.initrd.kernelModules = [ ]; 26 boot.kernelModules = [ "kvm-amd" ]; 27 boot.extraModulePackages = [ ]; 28 29 fileSystems."/" = { 30 device = "/dev/disk/by-uuid/0bf95be9-87d1-455a-9e50-af86b4d7e1d7"; 31 fsType = "bcachefs"; 32 }; 33 34 boot.initrd.luks.devices."rootfs".device = "/dev/disk/by-uuid/3d0aeb43-1859-4748-9e94-5eb820e5e4da"; 35 36 fileSystems."/boot" = { 37 device = "/dev/disk/by-uuid/32A5-48A0"; 38 fsType = "vfat"; 39 options = [ 40 "fmask=0077" 41 "dmask=0077" 42 ]; 43 }; 44 45 swapDevices = [ ]; 46 47 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 48 # (the default) this is the recommended approach. When using systemd-networkd it's 49 # still possible to use this option, but it's recommended to use it in conjunction 50 # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 51 networking.useDHCP = lib.mkDefault true; 52 # networking.interfaces.enp15s0.useDHCP = lib.mkDefault true; 53 # networking.interfaces.wlp16s0.useDHCP = lib.mkDefault true; 54 55 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 56 hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 57}