2023-06-29 00:27:30 -05:00
|
|
|
|
# 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, ... }:
|
|
|
|
|
|
|
|
|
|
|
|
{
|
2023-08-18 20:46:37 -05:00
|
|
|
|
imports = [
|
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
|
|
initrd = {
|
|
|
|
|
|
availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
|
|
|
|
|
|
kernelModules = [ ];
|
|
|
|
|
|
};
|
|
|
|
|
|
kernelModules = [ "kvm-intel" ];
|
|
|
|
|
|
extraModulePackages = [ ];
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/a509426b-5af7-4d04-ac42-619674d932d9";
|
|
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
|
options = [ "subvol=@" ];
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot/efi" = {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/5AC6-50D7";
|
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
swapDevices = [ {
|
|
|
|
|
|
device = "/dev/disk/by-uuid/a57f8b82-dc0c-4906-8a48-56203d07556b";
|
|
|
|
|
|
} ];
|
|
|
|
|
|
|
|
|
|
|
|
# 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.interfaces.enp1s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
# networking.interfaces.enp2s0.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
# networking.interfaces.eth2.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|
|
|
|
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2023-06-29 00:27:30 -05:00
|
|
|
|
}
|