From 076d454b9c64cb3233d907d4d15fc0a17dab256e Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Wed, 13 Sep 2023 00:55:13 -0600 Subject: [PATCH] trivios: add /static location --- triviOS/web.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/triviOS/web.nix b/triviOS/web.nix index f2c3f83..92e98d8 100644 --- a/triviOS/web.nix +++ b/triviOS/web.nix @@ -11,6 +11,8 @@ default = true; locations = { + "/static".alias = ../ui/main/static; + "/".extraConfig = '' uwsgi_pass unix://${config.services.uwsgi.runDir}/uwsgi.sock; ''; @@ -33,7 +35,7 @@ }; }; - udev.extraRules = = '' + udev.extraRules = '' KERNEL=="gpiochip*", GROUP="uwsgi", MODE="660" ''; };