home: add flameshot
This commit is contained in:
parent
61b36c5434
commit
86b12dc8a8
2 changed files with 14 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
./bat.nix
|
./bat.nix
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
./documentation.nix
|
./documentation.nix
|
||||||
|
./flameshot.nix
|
||||||
./git
|
./git
|
||||||
./gpg.nix
|
./gpg.nix
|
||||||
./htop.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…
Add table
Add a link
Reference in a new issue