Compare commits
2 commits
420954a928
...
ea6f358eaf
| Author | SHA1 | Date | |
|---|---|---|---|
| ea6f358eaf | |||
| d6edc43c5d |
2 changed files with 24 additions and 3 deletions
|
|
@ -1,9 +1,11 @@
|
|||
# This config will be applied to all hosts
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
outputs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.catppuccin.nixosModules.catppuccin
|
||||
|
|
@ -16,10 +18,13 @@
|
|||
];
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = {inherit inputs outputs;};
|
||||
home-manager.extraSpecialArgs = { inherit inputs outputs; };
|
||||
|
||||
networking.nameservers = [
|
||||
networking.nameservers = lib.mkForce [
|
||||
"9.9.9.9"
|
||||
"149.112.112.112"
|
||||
"2620:fe::fe"
|
||||
"2620:fe::9"
|
||||
];
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
|
|
|
|||
|
|
@ -33,6 +33,22 @@
|
|||
variant = "";
|
||||
};
|
||||
|
||||
services.logind = {
|
||||
lidSwitch = "hibernate";
|
||||
lidSwitchExternalPower = "lock";
|
||||
};
|
||||
|
||||
services.thermald.enable = true;
|
||||
services.tlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
|
||||
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
||||
};
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue