22 lines
354 B
Nix
22 lines
354 B
Nix
|
{
|
||
|
config,
|
||
|
lib,
|
||
|
...
|
||
|
}:
|
||
|
with lib; let
|
||
|
cfg = config.custom.services.clipmenu;
|
||
|
in {
|
||
|
options.custom.services.clipmenu = {
|
||
|
enable = mkOption {default = false;};
|
||
|
};
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
home-manager.sharedModules = [
|
||
|
{
|
||
|
# https://github.com/cdown/clipmenu
|
||
|
services.clipmenu.enable = true;
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
}
|