modules/hyprspace: install hyprspace CLI to systemPackages, make RPC accessible to wheel group
This commit is contained in:
parent
2146597a06
commit
b2638f762e
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,7 @@ in {
|
||||||
chmod 0400 ${runConfig}
|
chmod 0400 ${runConfig}
|
||||||
'';
|
'';
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
Group = "wheel";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = "5s";
|
RestartSec = "5s";
|
||||||
ExecStart = "${hyprspace}/bin/hyprspace up hyprspace -f -c ${runConfig}";
|
ExecStart = "${hyprspace}/bin/hyprspace up hyprspace -f -c ${runConfig}";
|
||||||
|
@ -72,4 +73,7 @@ in {
|
||||||
allowedUDPPorts = [ listenPort ];
|
allowedUDPPorts = [ listenPort ];
|
||||||
trustedInterfaces = [ "hyprspace" ];
|
trustedInterfaces = [ "hyprspace" ];
|
||||||
};
|
};
|
||||||
|
environment.systemPackages = [
|
||||||
|
hyprspace
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue