23 lines
447 B
Nix
23 lines
447 B
Nix
{ inputs, ... }:
|
|
{
|
|
flake.modules.nixos.clipboard =
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
wl-clipboard
|
|
cliphist
|
|
];
|
|
|
|
home-manager.sharedModules = [
|
|
inputs.self.modules.homeManager.clipboard
|
|
];
|
|
};
|
|
|
|
flake.modules.homeManager.clipboard =
|
|
{ pkgs, ... }:
|
|
{
|
|
# Watch clipboard and store history via cliphist
|
|
services.cliphist.enable = true;
|
|
};
|
|
}
|