14 lines
246 B
Nix
14 lines
246 B
Nix
|
{ 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;
|
||
|
};
|
||
|
}
|