2022-06-16 17:23:12 +00:00
|
|
|
# CFS Zen Tweaks
|
|
|
|
|
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
cfg = config.programs.cfs-zen-tweaks;
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
maintainers = with maintainers; [ mkg20001 ];
|
|
|
|
};
|
|
|
|
|
|
|
|
options = {
|
2024-04-21 15:54:59 +00:00
|
|
|
programs.cfs-zen-tweaks.enable = mkEnableOption "CFS Zen Tweaks";
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
systemd.packages = [ pkgs.cfs-zen-tweaks ];
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
systemd.services.set-cfs-tweaks.wantedBy = [
|
|
|
|
"multi-user.target"
|
|
|
|
"suspend.target"
|
|
|
|
"hibernate.target"
|
|
|
|
"hybrid-sleep.target"
|
|
|
|
"suspend-then-hibernate.target"
|
|
|
|
];
|
2022-06-16 17:23:12 +00:00
|
|
|
};
|
|
|
|
}
|