1
1
Fork 0

programs: add ydotool

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-02-10 18:10:57 -06:00
parent 3985ebd1d5
commit 09efda36b2
Signed by: Myned
GPG key ID: C7224454F7881A34
2 changed files with 20 additions and 0 deletions

View file

@ -80,6 +80,7 @@ with lib; {
waybar.enable = true; waybar.enable = true;
wireshark.enable = true; wireshark.enable = true;
#// wpaperd.enable = true; #// wpaperd.enable = true;
ydotool.enable = true;
zed.enable = true; zed.enable = true;
}) })
]; ];

View file

@ -0,0 +1,19 @@
{
config,
lib,
...
}:
with lib; let
cfg = config.custom.programs.ydotool;
in {
options.custom.programs.ydotool = {
enable = mkOption {default = false;};
};
config = mkIf cfg.enable {
custom.settings.users.${config.custom.username}.groups = ["ydotool"];
# https://github.com/ReimuNotMoe/ydotool
programs.ydotool.enable = true;
};
}