grafana-alloy: don't build the frontend twice
[NixPkgs.git] / nixos / modules / programs / cfs-zen-tweaks.nix
blobbc162640393527f604e40676dd8ac01c74b840a8
1 # CFS Zen Tweaks
3 { config, pkgs, lib, ... }:
5 let
7   cfg = config.programs.cfs-zen-tweaks;
9 in
13   meta = {
14     maintainers = with lib.maintainers; [ mkg20001 ];
15   };
17   options = {
18     programs.cfs-zen-tweaks.enable = lib.mkEnableOption "CFS Zen Tweaks";
19   };
21   config = lib.mkIf cfg.enable {
22     systemd.packages = [ pkgs.cfs-zen-tweaks ];
24     systemd.services.set-cfs-tweaks.wantedBy = [
25       "multi-user.target"
26       "suspend.target"
27       "hibernate.target"
28       "hybrid-sleep.target"
29       "suspend-then-hibernate.target"
30     ];
31   };