modules/hyprspace: make RPC usable

This commit is contained in:
Max Headroom 2023-01-20 23:38:43 +01:00
parent 1c1e448d8b
commit 2dcb333904

View file

@ -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}";