Fix nix module

This commit is contained in:
Tony Klink 2024-01-15 16:27:48 -06:00
parent f650b2cae2
commit ddc5d11644
Signed by: klink
GPG key ID: 85175567C4D19231

View file

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