# Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. { config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "ehci_pci" "usb_storage" "sd_mod" "sdhci_pci"]; boot.initrd.kernelModules = []; boot.extraModulePackages = []; fileSystems."/" = { device = "/dev/sda1"; fsType = "btrfs"; options = ["subvol=root"]; }; swapDevices = []; # The global useDHCP flag is deprecated, therefore explicitly set to false here. # Per-interface useDHCP will be mandatory in the future, so this generated config # replicates the default behaviour. networking.useDHCP = lib.mkDefault false; networking.interfaces.enp1s0.useDHCP = lib.mkDefault true; networking.interfaces.enp2s0.useDHCP = lib.mkDefault true; networking.interfaces.enp3s0.useDHCP = lib.mkDefault true; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }