some more fixes
This commit is contained in:
parent
c855979239
commit
23de7e39b4
3 changed files with 34 additions and 0 deletions
23
modules/clipboard/default.nix
Normal file
23
modules/clipboard/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue