modules/hyprspace: install hyprspace CLI to systemPackages, make RPC accessible to wheel group

This commit is contained in:
Max Headroom 2023-03-31 18:10:13 +02:00
parent 2146597a06
commit b2638f762e

View file

@ -43,6 +43,7 @@ in {
chmod 0400 ${runConfig}
'';
serviceConfig = {
Group = "wheel";
Restart = "on-failure";
RestartSec = "5s";
ExecStart = "${hyprspace}/bin/hyprspace up hyprspace -f -c ${runConfig}";
@ -72,4 +73,7 @@ in {
allowedUDPPorts = [ listenPort ];
trustedInterfaces = [ "hyprspace" ];
};
environment.systemPackages = [
hyprspace
];
}