Move flameshot configuration
All checks were successful
/ check (push) Successful in 1m47s

This commit is contained in:
Oliver Davies 2025-07-27 21:33:43 +01:00
parent 8ca7b4c806
commit 2fd69f6266
5 changed files with 16 additions and 28 deletions

View file

@ -6,7 +6,6 @@
./browsers/qutebrowser.nix
./dev-commit.nix
./direnv.nix
./flameshot.nix
./gtk.nix
./media/handbrake.nix
./media/mpv.nix

View file

@ -1,26 +0,0 @@
{ config, lib, ... }:
with lib;
let
cfg = config.features.desktop.flameshot;
in
{
options.features.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";
};
};
};
};
}