nixos-config/home/flameshot.nix

14 lines
243 B
Nix
Raw Normal View History

2021-04-19 15:51:50 +02:00
{ 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;
};
}