From b2638f762e129aef77f24b1543ba3924c60c13ab Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 31 Mar 2023 18:10:13 +0200 Subject: [PATCH] modules/hyprspace: install hyprspace CLI to systemPackages, make RPC accessible to wheel group --- modules/hyprspace/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/hyprspace/default.nix b/modules/hyprspace/default.nix index 8f442e4..3471197 100644 --- a/modules/hyprspace/default.nix +++ b/modules/hyprspace/default.nix @@ -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 + ]; }