/ hosts / cube / default.nix
default.nix
 1  { profiles, suites, ... }:
 2  {
 3    imports = [
 4      ./configuration.nix
 5      ../profiles/core
 6      ../profiles/server
 7      ../profiles/site
 8    ];
 9  
10    services.nginx.enable = true;
11    services.nginx.virtualHosts."coaching.lakhwara.com" = {
12      forceSSL = true;
13      enableACME = true;
14      locations."/" = { root = "/var/lib/coaching"; index = "/index.html"; };
15    };
16  }