[Services] Re-enable ananicy-cpp with better config generation

Also add fwupd
This commit is contained in:
Antoine Viallon 2022-01-22 20:43:20 +01:00
parent 3a4b7e898b
commit 15db62413a
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -31,15 +31,20 @@ in {
services.printing.enable = desktopCfg.enable;
services.ananicy.enable = false;
services.fwupd.enable = true;
services.ananicy.enable = true;
services.ananicy.package = pkgs.ananicy-cpp;
services.ananicy.settings = {
loglevel = "info";
cgroup_realtime_workaround = false;
};
services.ananicy.extraRules = ''
{"name": "cp", "type": "BG_CPUIO"}
'';
services.ananicy.extraRules = concatStringsSep "\n" ( forEach [
{
name = "cp";
type = "BG_CPUIO";
}
] (x: builtins.toJSON x));
services.avahi.enable = true; # .lan/.local resolution
services.avahi.nssmdns = true; # .lan/.local resolution