summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/bragi.nix b/bragi.nix
index 1477410c..4fc0f2dc 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -303,7 +303,7 @@ in rec {
303 , collapse = standardCollapse 303 , collapse = standardCollapse
304 } 304 }
305 305
306 wSettings = Warp.setHost "*" . Warp.setPort 8080 $ Warp.defaultSettings 306 wSettings = Warp.setHost "localhost" . Warp.setPort 8080 $ Warp.defaultSettings
307 ''; 307 '';
308 }; 308 };
309 309
@@ -325,7 +325,7 @@ in rec {
325 wantedBy = [ "default.target" ]; 325 wantedBy = [ "default.target" ];
326 serviceConfig = { 326 serviceConfig = {
327 Type = "simple"; 327 Type = "simple";
328 ExecStart = ''${pkgs.thermoprint-webgui}/bin/thermoprint-webgui -P 80 -A localhost -F thermoprint/api -a "*" -p 8081''; 328 ExecStart = ''${pkgs.thermoprint-webgui}/bin/thermoprint-webgui -P 80 -A localhost -F thermoprint/api -a "localhost" -p 8081'';
329 User = users.extraUsers."thermoprint".name; 329 User = users.extraUsers."thermoprint".name;
330 Group = users.extraUsers."thermoprint".group; 330 Group = users.extraUsers."thermoprint".group;
331 }; 331 };