From 4043767e017d09cc83c2ef3674bc5e6b05d10516 Mon Sep 17 00:00:00 2001 From: Alejandro Diaz Date: Mon, 11 Sep 2023 03:10:06 -0600 Subject: [PATCH] fix web.nix typo --- triviOS/default.nix | 15 +++++++++------ triviOS/web.nix | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/triviOS/default.nix b/triviOS/default.nix index 76d10ab..b9130b7 100644 --- a/triviOS/default.nix +++ b/triviOS/default.nix @@ -35,19 +35,22 @@ libgpiod ]; - networking.wireless = { - enable = true; - environmentFile = "/var/lib/wlan.conf"; + networking = { + hostName = "tripi"; + firewall.allowedTCPPorts = [ 80 ]; - networks."@WLAN_SSID@".psk = "@WLAN_PSK@"; + wireless = { + enable = true; + environmentFile = "/var/lib/wlan.conf"; + networks."@WLAN_SSID@".psk = "@WLAN_PSK@"; + }; }; - networking.hostName = "tripi"; + services.openssh = { enable = true; settings.PasswordAuthentication = true; settings.PermitRootLogin = "yes"; - firewall.allowedTCPPorts = [ 80 ]; }; users.users."root".initialPassword = "password"; diff --git a/triviOS/web.nix b/triviOS/web.nix index 2f63bdf..48c33f2 100644 --- a/triviOS/web.nix +++ b/triviOS/web.nix @@ -25,7 +25,7 @@ instance = { type = "normal"; - pythonPackages = py: [ py.callPackage ../ui { } ]; + pythonPackages = py: [ (py.callPackage ../ui { }) ]; module = "homemanager.wsgi"; socket = "${config.services.uwsgi.runDir}/uwsgi.sock";