Flatten modules
This commit is contained in:
parent
ab5ae74dda
commit
d1a58fec56
86 changed files with 64 additions and 50 deletions
26
modules/home-manager/flameshot.nix
Normal file
26
modules/home-manager/flameshot.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue