1
1
Fork 0
nixos/options/custom/services/cliphist.nix

16 lines
320 B
Nix
Raw Normal View History

{ config, lib, ... }:
with lib;
let
cfg = config.custom.services.cliphist;
in
{
options.custom.services.cliphist.enable = mkOption { default = false; };
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
# https://github.com/sentriz/cliphist
services.cliphist.enable = true;
};
}