2024-12-12 22:24:17 +01:00
|
|
|
{ inputs, pkgs, config, lib, ... }:
|
|
|
|
|
{
|
|
|
|
|
imports = [
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
./../../modules/core
|
2024-12-20 00:20:33 +01:00
|
|
|
./../../modules/core/virtualization.nix
|
2024-12-12 22:24:17 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
powerManagement = {
|
|
|
|
|
enable = true;
|
|
|
|
|
# powertop.enable = true;
|
|
|
|
|
cpuFreqGovernor = lib.mkDefault "performance";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
liv.laptop.enable = false;
|
|
|
|
|
|
|
|
|
|
networking = {
|
|
|
|
|
hostName = "yoshino";
|
|
|
|
|
networkmanager.enable = true;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
boot = {
|
|
|
|
|
kernelParams = [ ];
|
|
|
|
|
kernelModules = ["acpi_call"];
|
|
|
|
|
extraModulePackages = with config.boot.kernelPackages;
|
|
|
|
|
[
|
|
|
|
|
acpi_call
|
|
|
|
|
cpupower
|
|
|
|
|
]
|
|
|
|
|
++ [pkgs.cpupower-gui];
|
|
|
|
|
};
|
|
|
|
|
}
|