2021-11-24 07:07:08 +00:00
|
|
|
# CFS Zen Tweaks
|
|
|
|
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
cfg = config.programs.cfs-zen-tweaks;
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
maintainers = with maintainers; [ mkg20001 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
options = {
|
|
|
|
programs.cfs-zen-tweaks.enable = mkEnableOption (lib.mdDoc "CFS Zen Tweaks");
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
systemd.packages = [ pkgs.cfs-zen-tweaks ];
|
|
|
|
|
2023-03-29 13:03:50 +00:00
|
|
|
systemd.services.set-cfs-tweaks.wantedBy = [
|
|
|
|
"multi-user.target"
|
|
|
|
"suspend.target"
|
|
|
|
"hibernate.target"
|
|
|
|
"hybrid-sleep.target"
|
|
|
|
"suspend-then-hibernate.target"
|
|
|
|
];
|
2021-11-24 07:07:08 +00:00
|
|
|
};
|
|
|
|
}
|