1
1
Fork 0
nixos/options/custom/programs/slurp.nix
Myned ab485dec35
nix: format with alejandra
Signed-off-by: Myned <dev@bjork.tech>
2024-09-12 20:50:53 -05:00

22 lines
509 B
Nix

{
config,
lib,
...
}:
with lib; let
cfg = config.custom.programs.slurp;
in {
options.custom.programs.slurp.enable = mkOption {default = false;};
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
# https://github.com/emersion/slurp
# https://github.com/emersion/slurp/blob/master/slurp.1.scd
home.sessionVariables.SLURP_ARGS = lib.concatStringsSep " " [
"-B 00000000"
"-b 00000000"
"-c d33682"
#// "-s d3368240"
"-w 2"
];
};
}