nix-config/modules/home/flameshot/default.nix

14 lines
246 B
Nix
Raw Normal View History

2021-04-05 03:38:32 +02:00
{ 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;
};
}