This commit is contained in:
parent
8ca7b4c806
commit
2fd69f6266
5 changed files with 16 additions and 28 deletions
|
@ -28,7 +28,6 @@
|
|||
qutebrowser.enable = true;
|
||||
};
|
||||
|
||||
flameshot.enable = true;
|
||||
gtk.enable = true;
|
||||
|
||||
media = {
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
./browsers/qutebrowser.nix
|
||||
./dev-commit.nix
|
||||
./direnv.nix
|
||||
./flameshot.nix
|
||||
./gtk.nix
|
||||
./media/handbrake.nix
|
||||
./media/mpv.nix
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
3
modules2/flameshot/enable.nix
Normal file
3
modules2/flameshot/enable.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
flake.modules.homeManager.gui.services.flameshot.enable = true;
|
||||
}
|
13
modules2/flameshot/settings.nix
Normal file
13
modules2/flameshot/settings.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue