diff --git a/module.nix b/module.nix index c497921..6a04b1f 100644 --- a/module.nix +++ b/module.nix @@ -6,7 +6,7 @@ virtualHosts.localhost.locations."/" = { index = "index.html"; - root = ./www; + root = "/var/www"; }; }; }; @@ -19,5 +19,10 @@ host.port = 8080; }]; + virtualisation.sharedDirectories.www = { + source = "$WWW"; + target = "/var/www"; + }; + system.stateVersion = "23.11"; }