modules/hyprspace: make RPC usable
This commit is contained in:
parent
1c1e448d8b
commit
2dcb333904
1 changed files with 4 additions and 0 deletions
|
@ -33,6 +33,9 @@ in {
|
||||||
file = ../../secrets/hyprspace-key- + "${hostName}.age";
|
file = ../../secrets/hyprspace-key- + "${hostName}.age";
|
||||||
mode = "0400";
|
mode = "0400";
|
||||||
};
|
};
|
||||||
|
environment.systemPackages = [
|
||||||
|
hyprspace
|
||||||
|
];
|
||||||
systemd.services.hyprspace = {
|
systemd.services.hyprspace = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
@ -49,6 +52,7 @@ in {
|
||||||
HYPRSPACE_IPFS_API = config.services.kubo.settings.Addresses.API;
|
HYPRSPACE_IPFS_API = config.services.kubo.settings.Addresses.API;
|
||||||
};
|
};
|
||||||
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}";
|
||||||
|
|
Loading…
Reference in a new issue