Keyd : Fix toggle access.
This commit is contained in:
parent
cab1b0f0b2
commit
220c064fa5
|
@ -54,5 +54,6 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
systemd.services.keyd.path = [ script ];
|
||||
environment.systemPackages = [ script ];
|
||||
}
|
||||
|
|
|
@ -20,5 +20,6 @@ in {
|
|||
} // args))
|
||||
];
|
||||
|
||||
systemd.services.keyd.path = [ script ];
|
||||
environment.systemPackages = [ script ];
|
||||
}
|
||||
|
|
|
@ -17,5 +17,6 @@ in {
|
|||
} // args))
|
||||
];
|
||||
|
||||
systemd.services.keyd.path = [ script ];
|
||||
environment.systemPackages = [ script ];
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
{ pkgs, lib, ... }: {
|
||||
environment.systemPackages = with pkgs; [ keyd ];
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
|
@ -57,4 +57,7 @@
|
|||
# HACK: Workaround for https://github.com/NixOS/nixpkgs/issues/290161
|
||||
users.groups.keyd = {};
|
||||
systemd.services.keyd.serviceConfig.CapabilityBoundingSet = [ "CAP_SETGID" ];
|
||||
|
||||
# HACK: Workaround for powersave/powerlimit scripts.
|
||||
systemd.services.keyd.serviceConfig.ProtectKernelTunables = lib.mkForce false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue