marleyos/modules/home/services/clipboard/default.nix

21 lines
338 B
Nix
Raw Normal View History

2024-11-16 21:18:54 -08:00
{
lib,
config,
pkgs,
...
}: let
cfg = config.marleyos.services.clipboard;
in {
options.marleyos.services.clipboard.enable = lib.mkEnableOption "clipboard";
2024-11-16 21:18:54 -08:00
config = lib.mkIf cfg.enable {
2024-11-16 21:18:54 -08:00
home.packages = with pkgs; [
clipboard-jh
];
home.sessionVariables = {
CLIPBOARD_THEME = "ansi";
};
};
}