New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos/modules: add greenclip user service #54913
Conversation
Heya, this looks cool ! |
arf sry I tried to resolve the conflict via github's ui but seems like it merged current master into the branch. Better drop my commit and properly rebase. |
@teto Just rebased 😃 |
in { | ||
|
||
options.services.greenclip = { | ||
enable = mkEnableOption "Whether to enable the greenclip daemon that will listen to selections"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mkEnableOption is defined as ```
mkEnableOption =
# Name for the created option
name: mkOption {
default = false;
example = true;
description = "Whether to enable ${name}.";
type = lib.types.bool;
};
so the current value is not good. "Greenclip daemon" should be enough ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@teto True, just saw the mkEnableOption source. Fixed.
the systemd service looks fine to me but I am no expert. I guess it can be refined later in case of problem. |
Motivation for this change
greenclip is a tool for managing your clipboard with rofi. see https://github.com/erebe/greenclip
The greenclip package(
haskellPackages.greenclip
) is already available, this is just for adding a nixos systemd user service forgreenclip daemon
.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)