fix: set and install clipboard
This commit is contained in:
parent
1a998d1edb
commit
fb29126d4c
2 changed files with 10 additions and 4 deletions
|
@ -86,10 +86,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# config = lib.mkIf pkgs.stdenv.isLinux {
|
# config = lib.mkIf pkgs.stdenv.isLinux {
|
||||||
# home.packages = [
|
|
||||||
# cfg.pinentry
|
|
||||||
# cfg.clipboard.package
|
|
||||||
# ];
|
|
||||||
#
|
#
|
||||||
# # TODO: move these to respective modules
|
# # TODO: move these to respective modules
|
||||||
# programs.rbw = lib.mkDefault {
|
# programs.rbw = lib.mkDefault {
|
||||||
|
|
|
@ -14,5 +14,15 @@
|
||||||
Requires = ["graphical-session-pre.target"];
|
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
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue