dotfiles/nix/modules/home-manager/features/desktop/flameshot.nix

27 lines
504 B
Nix
Raw Normal View History

{
config,
lib,
username,
...
}:
2024-03-16 22:12:53 +00:00
{
options.features.desktop.flameshot.enable = lib.mkEnableOption "Enable flameshot";
config = lib.mkIf config.features.desktop.flameshot.enable {
services.flameshot = {
enable = true;
settings = {
General = {
disabledTrayIcon = false;
saveAfterCopy = true;
savePath = "/home/${username}/Pictures/Screenshots";
showHelp = false;
uiColor = "#60a5fa";
};
2024-03-16 22:12:53 +00:00
};
};
};
}