home: setup flameshot

This commit is contained in:
Antoine Martin 2021-04-19 15:51:50 +02:00
parent cc34396e9e
commit 52290a8f8d
4 changed files with 17 additions and 3 deletions

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 autolaunch";
};
config.services.flameshot = lib.mkIf cfg.enable {
enable = true;
};
}