# 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" "usbhid" "uas"]; kernelModules = []; }; boot.kernelModules = ["kvm-amd" "nct6775" "coretemp"]; boot.extraModulePackages = []; boot.supportedFilesystems = ["zfs"]; boot.zfs = { forceImportRoot = false; extraPools = ["tank"]; }; boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages; fileSystems."/" = { device = "/dev/disk/by-uuid/3652c231-d679-42dd-80f1-e9afccb4ca13"; fsType = "ext4"; }; boot.initrd.luks.devices = { cryptroot = { device = "/dev/disk/by-uuid/6eafb3a6-a7b0-442f-b88c-a3f7021cf0e7"; allowDiscards = true; keyFileSize = 4096; keyFile = "/dev/disk/by-id/usb-Generic_Flash_Disk_D5A325A0-0:0"; }; }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/7F60-62AA"; fsType = "vfat"; }; swapDevices = []; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's # still possible to use this option, but it's recommended to use it in conjunction # with explicit per-interface declarations with `networking.interfaces..useDHCP`. networking.useDHCP = lib.mkDefault true; networking.hostId = "c1309b62"; # networking.interfaces.enp4s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }