home: add flameshot
This commit is contained in:
parent
61b36c5434
commit
86b12dc8a8
|
@ -4,6 +4,7 @@
|
|||
./bat.nix
|
||||
./direnv.nix
|
||||
./documentation.nix
|
||||
./flameshot.nix
|
||||
./git
|
||||
./gpg.nix
|
||||
./htop.nix
|
||||
|
|
13
home/flameshot.nix
Normal file
13
home/flameshot.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue