config/modules/gui/clipboard.nix

18 lines
355 B
Nix
Raw Normal View History

2022-05-15 20:02:26 +02:00
{ config, lib, pkgs, ... }:
2022-01-12 00:20:57 +01:00
2022-05-15 20:02:26 +02:00
let scripts = (import ../../scripts/clip.nix {
inherit pkgs;
});
in (lib.mkIf (config.riley.gui) {
2022-01-12 00:20:57 +01:00
# Add some shell scripts that abstract away the
# horrible reality that the clipboard is managed by
# the display server.
2022-05-15 20:02:26 +02:00
users.users."riley".packages =
with scripts; [
c p
];
2022-01-12 00:20:57 +01:00
})