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}
|
||||
'';
|
||||
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
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue