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 "nvme"
18 "usbhid"
19 "usb_storage"
20 "sd_mod"
21 ];
22 boot.initrd.kernelModules = [ ];
23 boot.kernelModules = [ "kvm-intel" ];
24 boot.extraModulePackages = [ ];
25
26 fileSystems."/" = {
27 device = "/dev/disk/by-uuid/f4bb41e2-b477-49e7-ae96-61fd80a63b2e";
28 fsType = "btrfs";
29 };
30
31 fileSystems."/boot" = {
32 device = "/dev/disk/by-uuid/3231-A446";
33 fsType = "vfat";
34 options = [
35 "fmask=0022"
36 "dmask=0022"
37 "umask=0077"
38 ];
39 };
40
41 swapDevices = [ ];
42
43 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
44 # (the default) this is the recommended approach. When using systemd-networkd it's
45 # still possible to use this option, but it's recommended to use it in conjunction
46 # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
47 networking.useDHCP = lib.mkDefault true;
48 # networking.interfaces.enp0s13f0u2.useDHCP = lib.mkDefault true;
49 # networking.interfaces.enp230s0f1u1.useDHCP = lib.mkDefault true;
50
51 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
52 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
53}