hosts/satori: add tlp and move around misc stuff

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-01-18 14:51:32 +05:30
parent 6f7e8a749a
commit 97bc35cb07
5 changed files with 16 additions and 15 deletions

View File

@@ -15,10 +15,20 @@
'';
zfs.autoScrub.enable = true;
gvfs.enable = true;
tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
};
};
logind.extraConfig = "RuntimeDirectorySize=30%";
};
systemd.services.tor.wantedBy = lib.mkForce [ ];
systemd.enableUnifiedCgroupHierarchy = false;
systemd.services = {
tor.wantedBy = lib.mkForce [ ];
logmein-hamachi.wantedBy = lib.mkForce [ ];
};
security.pki.certificateFiles = [ ../../cert.pem ];
virtualisation.libvirtd = {
enable = true;