nixos-config/home/flameshot.nix

19 lines
278 B
Nix
Raw Normal View History

2021-04-19 15:51:50 +02:00
{ config, lib, ... }:
let
2022-01-11 16:08:21 +01:00
inherit (lib)
mkEnableOption
mkIf
;
2021-04-19 15:51:50 +02:00
cfg = config.my.home.flameshot;
in
{
2022-01-11 16:08:21 +01:00
options.my.home.flameshot = {
2021-04-19 15:51:50 +02:00
enable = mkEnableOption "flameshot autolaunch";
};
2022-01-11 16:08:21 +01:00
config.services.flameshot = mkIf cfg.enable {
2021-04-19 15:51:50 +02:00
enable = true;
};
}