yep, more dotfiles
1{ config 2, lib 3, ... 4}: 5 6{ 7 imports = [ ]; 8 9 config = { 10 system.stateVersion = "23.05"; 11 12 # --- Generated by `nixos-generate-config` --- 13 boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "sdhci_pci" ]; 14 boot.initrd.kernelModules = [ ]; 15 boot.kernelModules = [ "kvm-intel" ]; 16 boot.extraModulePackages = [ ]; 17 18 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 19 # (the default) this is the recommended approach. When using systemd-networkd it's 20 # still possible to use this option, but it's recommended to use it in conjunction 21 # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 22 networking.useDHCP = lib.mkDefault true; 23 # networking.interfaces.docker0.useDHCP = lib.mkDefault true; 24 # networking.interfaces.wlo1.useDHCP = lib.mkDefault true; 25 26 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 27 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 28 29 # Replaces `<modules>/installer/scan/not-detected.nix` import 30 hardware.enableRedistributableFirmware = lib.mkDefault true; 31 }; 32}