fix web.nix typo
This commit is contained in:
parent
90b2fb2803
commit
4043767e01
|
@ -35,19 +35,22 @@
|
||||||
libgpiod
|
libgpiod
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.wireless = {
|
networking = {
|
||||||
enable = true;
|
hostName = "tripi";
|
||||||
environmentFile = "/var/lib/wlan.conf";
|
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 = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.PasswordAuthentication = true;
|
settings.PasswordAuthentication = true;
|
||||||
settings.PermitRootLogin = "yes";
|
settings.PermitRootLogin = "yes";
|
||||||
firewall.allowedTCPPorts = [ 80 ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users."root".initialPassword = "password";
|
users.users."root".initialPassword = "password";
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
instance = {
|
instance = {
|
||||||
type = "normal";
|
type = "normal";
|
||||||
pythonPackages = py: [ py.callPackage ../ui { } ];
|
pythonPackages = py: [ (py.callPackage ../ui { }) ];
|
||||||
|
|
||||||
module = "homemanager.wsgi";
|
module = "homemanager.wsgi";
|
||||||
socket = "${config.services.uwsgi.runDir}/uwsgi.sock";
|
socket = "${config.services.uwsgi.runDir}/uwsgi.sock";
|
||||||
|
|
Loading…
Reference in a new issue