hosts/ni: update hardware configuration

This commit is contained in:
Gabriel Arazas 2023-01-21 09:12:23 +08:00
parent 2283a7166c
commit 1a6b5b6579

View File

@ -26,12 +26,12 @@
swapDevices = [{ label = "swap"; }]; swapDevices = [{ label = "swap"; }];
networking = { networking = {
useDHCP = false;
usePredictableInterfaceNames = true; usePredictableInterfaceNames = true;
useNetworkd = true; useNetworkd = true;
# We're using networkd to configure so we're disabling this # We're using networkd to configure so we're disabling this
# service. # service.
useDHCP = false;
dhcpcd.enable = false; dhcpcd.enable = false;
}; };
@ -75,4 +75,15 @@
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault true; hardware.cpu.intel.updateMicrocode = lib.mkDefault true;
# Set up printers.
services.printing = {
enable = true;
browsing = true;
drivers = with pkgs; [
gutenprint
hplip
splix
];
};
} }