Fix for headless

This commit is contained in:
Nathan Anderson 2024-03-18 14:14:19 -06:00
parent 0a7738b8cd
commit b6cbe22d7a

View File

@ -113,6 +113,7 @@ in
openDefaultPorts = true; openDefaultPorts = true;
group = "users"; group = "users";
relay.enable = false; relay.enable = false;
guiAddress = "0.0.0.0:8384";
# settings = { # settings = {
# devices = { # devices = {
# # "supernote" = { id = "DEVICE-ID-GOES-HERE"; }; # # "supernote" = { id = "DEVICE-ID-GOES-HERE"; };
@ -135,19 +136,6 @@ in
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
services.nginx = {
enable = true;
recommendedProxySettings = true;
# recommendedTlsSettings = true;
# other Nginx options
virtualHosts."http://127.0.0.1" = {
# enableACME = true;
# forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8384";
};
};
};
system.stateVersion = "23.11"; # Did you read the comment? system.stateVersion = "23.11"; # Did you read the comment?
}; };
} }