nix-config/modules/home-manager/desktop/flameshot.nix
Oliver Davies 54b43e4203
All checks were successful
/ check (push) Successful in 1m21s
Remove features
2025-05-03 16:50:27 +01:00

26 lines
496 B
Nix

{ config, lib, ... }:
with lib;
let
cfg = config.desktop.flameshot;
in
{
options.desktop.flameshot.enable = mkEnableOption "Enable flameshot";
config = mkIf cfg.enable {
services.flameshot = {
enable = true;
settings = {
General = {
disabledTrayIcon = false;
saveAfterCopy = true;
savePath = "${config.xdg.userDirs.pictures}/Screenshots";
showHelp = false;
uiColor = "#60a5fa";
};
};
};
};
}