Fix nix module
This commit is contained in:
parent
f650b2cae2
commit
ddc5d11644
|
@ -64,7 +64,7 @@ in {
|
||||||
};
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart =
|
ExecStart =
|
||||||
"${inputs.sneedstr.packages.x86_64-linux.default}/bin/sneedstr";
|
"${inputs.sneedstr.packages.x86_64-linux.default}/bin/sneedstr";
|
||||||
};
|
};
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
};
|
};
|
||||||
|
@ -98,6 +98,7 @@ in {
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://${cfg.localAddress}:8080";
|
proxyPass = "http://${cfg.localAddress}:8080";
|
||||||
proxyWebsockets = true; # needed if you need to use WebSocket
|
proxyWebsockets = true; # needed if you need to use WebSocket
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue