i forogr
This commit is contained in:
parent
efe09d0045
commit
4120f3a090
6 changed files with 28 additions and 32 deletions
18
modules/software/system/ananicy.nix
Normal file
18
modules/software/system/ananicy.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.software.system.ananicy;
|
||||
in {
|
||||
options.modules.software.system.ananicy = {
|
||||
enable = mkEnableOption "Enable Ananicy, an auto nice daemon with community rules support";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.ananicy = {
|
||||
enable = true;
|
||||
package = pkgs.ananicy-cpp;
|
||||
rulesProvider = pkgs.ananicy-rules-cachyos;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue