home: add flameshot

This commit is contained in:
Bruno BELANYI 2021-04-05 01:38:32 +00:00
parent 61b36c5434
commit 86b12dc8a8
2 changed files with 14 additions and 0 deletions

View file

@ -4,6 +4,7 @@
./bat.nix
./direnv.nix
./documentation.nix
./flameshot.nix
./git
./gpg.nix
./htop.nix

13
home/flameshot.nix Normal file
View file

@ -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;
};
}