| 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 | "xhci_pci" |
| 19 | "thunderbolt" |
| 20 | "vmd" |
| 21 | "nvme" |
| 22 | ]; |
| 23 | boot.initrd.kernelModules = [ ]; |
| 24 | boot.kernelModules = [ "kvm-intel" ]; |
| 25 | boot.extraModulePackages = [ ]; |
| 26 | |
| 27 | fileSystems."/" = { |
| 28 | device = "/dev/disk/by-uuid/d434c90f-e135-426e-b237-ead2f44e37c6"; |
| 29 | fsType = "ext4"; |
| 30 | }; |
| 31 | |
| 32 | fileSystems."/boot/EFI" = { |
| 33 | device = "/dev/disk/by-uuid/473A-B8FD"; |
| 34 | fsType = "vfat"; |
| 35 | options = [ |
| 36 | "fmask=0077" |
| 37 | "dmask=0077" |
| 38 | ]; |
| 39 | }; |
| 40 | |
| 41 | swapDevices = [ |
| 42 | { device = "/dev/disk/by-uuid/e0cac471-0e32-4d5a-bf85-e8f93b304356"; } |
| 43 | ]; |
| 44 | |
| 45 | # Enables DHCP on each ethernet and wireless interface. In case of scripted networking |
| 46 | # (the default) this is the recommended approach. When using systemd-networkd it's |
| 47 | # still possible to use this option, but it's recommended to use it in conjunction |
| 48 | # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. |
| 49 | networking.useDHCP = lib.mkDefault true; |
| 50 | # networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true; |
| 51 | |
| 52 | nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; |
| 53 | hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; |
| 54 | } |