home: add flameshot
This commit is contained in:
parent
d01b7963cd
commit
e6fb00ce9a
|
@ -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