diff --git a/modules/home/options/apps.nix b/modules/home/options/apps.nix index e8e8b6c..65ab0d5 100644 --- a/modules/home/options/apps.nix +++ b/modules/home/options/apps.nix @@ -86,10 +86,6 @@ }; # config = lib.mkIf pkgs.stdenv.isLinux { - # home.packages = [ - # cfg.pinentry - # cfg.clipboard.package - # ]; # # # TODO: move these to respective modules # programs.rbw = lib.mkDefault { diff --git a/modules/home/shell/wayland.nix b/modules/home/shell/wayland.nix index b774c0c..b57f012 100644 --- a/modules/home/shell/wayland.nix +++ b/modules/home/shell/wayland.nix @@ -14,5 +14,15 @@ Requires = ["graphical-session-pre.target"]; }; }; + + marleycfg.apps.clipboard = { + package = pkgs.wl-clipboard; + copy-command = lib.getExe' pkgs.wl-clipboard "wl-copy"; + paste-command = lib.getExe' pkgs.wl-clipboard "wl-paste"; + }; + + home.packages = [ + config.marleycfg.apps.clipboard.package + ]; }; }