diff --git a/home/default.nix b/home/default.nix index 77d54ae..e47940d 100644 --- a/home/default.nix +++ b/home/default.nix @@ -4,6 +4,7 @@ ./bat.nix ./direnv.nix ./documentation.nix + ./flameshot.nix ./git ./gpg.nix ./htop.nix diff --git a/home/flameshot.nix b/home/flameshot.nix new file mode 100644 index 0000000..a9a60a8 --- /dev/null +++ b/home/flameshot.nix @@ -0,0 +1,13 @@ +{ config, lib, ... }: +let + cfg = config.my.home.flameshot; +in +{ + options.my.home.flameshot = with lib; { + enable = mkEnableOption "flameshot configuration"; + }; + + config.services.flameshot = lib.mkIf cfg.enable { + enable = true; + }; +}