Fix nix module
This commit is contained in:
parent
f650b2cae2
commit
ddc5d11644
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue