mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 15:11:34 +01:00
Fix naming
This commit is contained in:
parent
765db19140
commit
0175a0af51
17 changed files with 11 additions and 11 deletions
24
modules/home/de-utils/cliphist.nix
Normal file
24
modules/home/de-utils/cliphist.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.myConfig.deUtils.cliphist.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.deUtils.cliphist.enable {
|
||||
services.cliphist = {
|
||||
enable = true;
|
||||
allowImages = false;
|
||||
};
|
||||
|
||||
systemd.user.services.cliphist.Service.ExecStopPost =
|
||||
"${lib.getExe config.services.cliphist.package} wipe";
|
||||
|
||||
home.packages = [
|
||||
pkgs.wl-clipboard
|
||||
(pkgs.writeScriptBin "rofi-clipboard" "cliphist list | rofi -dmenu -display-columns 2 | cliphist decode | wl-copy")
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue