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";
|
||||
mode = "0400";
|
||||
};
|
||||
environment.systemPackages = [
|
||||
hyprspace
|
||||
];
|
||||
systemd.services.hyprspace = {
|
||||
enable = true;
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
@ -49,6 +52,7 @@ in {
|
|||
HYPRSPACE_IPFS_API = config.services.kubo.settings.Addresses.API;
|
||||
};
|
||||
serviceConfig = {
|
||||
Group = "wheel";
|
||||
Restart = "on-failure";
|
||||
RestartSec = "5s";
|
||||
ExecStart = "${hyprspace}/bin/hyprspace up hyprspace -f -c ${runConfig}";
|
||||
|
|
Loading…
Reference in a new issue