mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds yoshino (desktop)
This commit is contained in:
parent
46de81538f
commit
5184109dba
1 changed files with 31 additions and 0 deletions
31
hosts/yoshino/default.nix
Normal file
31
hosts/yoshino/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
{ inputs, pkgs, config, lib, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
./../../modules/core
|
||||||
|
];
|
||||||
|
|
||||||
|
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];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue