Squashed commit of the following:

commit b56a956345dbe9cc152097b540436a74fee3a844
Author: langedev <public@daltonlange.com>
Date:   Wed Feb 21 14:31:11 2024 -0800

    Fix typo

commit 38aadf56730fb7d7a9ddbf704d024061c43983b3
Author: langedev <public@daltonlange.com>
Date:   Wed Feb 21 14:24:49 2024 -0800

    testing refactoring
This commit is contained in:
langedev 2024-02-21 14:48:45 -08:00
parent a79d9a678d
commit 5f2b93e522
8 changed files with 89 additions and 40 deletions

View file

@ -0,0 +1,41 @@
# 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" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/168fb358-6783-4b66-8eed-374769a14c88";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/2A27-6F56";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/db71f8e9-74e6-40f8-b5c3-1dcf74510f3b"; }
];
# 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.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# high-resolution display
}