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

@ -28,7 +28,6 @@
qutebrowser.enable = true; qutebrowser.enable = true;
}; };
flameshot.enable = true;
gtk.enable = true; gtk.enable = true;
media = { media = {

View file

@ -6,7 +6,6 @@
./browsers/qutebrowser.nix ./browsers/qutebrowser.nix
./dev-commit.nix ./dev-commit.nix
./direnv.nix ./direnv.nix
./flameshot.nix
./gtk.nix ./gtk.nix
./media/handbrake.nix ./media/handbrake.nix
./media/mpv.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";
};
};
};
};
}

View file

@ -0,0 +1,3 @@
{
flake.modules.homeManager.gui.services.flameshot.enable = true;
}

View file

@ -0,0 +1,13 @@
{
flake.modules.homeManager.gui =
{ config, ... }:
{
services.flameshot.settings.General = {
disabledTrayIcon = false;
saveAfterCopy = true;
savePath = "${config.xdg.userDirs.pictures}/Screenshots";
showHelp = false;
uiColor = "#60a5fa";
};
};
}