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

25 lines
368 B
Nix
Raw Normal View History

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