26 lines
390 B
Nix
26 lines
390 B
Nix
{
|
|
lib,
|
|
config,
|
|
namespace,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkIf;
|
|
inherit (lib.marleyos) mkEnableModule;
|
|
|
|
cfg = config.marleyos.services.clipboard;
|
|
in
|
|
{
|
|
options.marleyos = mkEnableModule "services.clipboard";
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
clipboard-jh
|
|
];
|
|
|
|
home.sessionVariables = {
|
|
CLIPBOARD_THEME = "ansi";
|
|
};
|
|
};
|
|
}
|