programs: add ydotool
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
3985ebd1d5
commit
09efda36b2
2 changed files with 20 additions and 0 deletions
|
@ -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;
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
19
options/custom/programs/ydotool.nix
Normal file
19
options/custom/programs/ydotool.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue