diff options
Diffstat (limited to 'nixos/tente-configuration.nix')
-rw-r--r-- | nixos/tente-configuration.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/nixos/tente-configuration.nix b/nixos/tente-configuration.nix index 3c52332..459fe87 100644 --- a/nixos/tente-configuration.nix +++ b/nixos/tente-configuration.nix @@ -4,7 +4,7 @@ # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). let - domain = "beta.push-f.com"; + domains = import ./domains.nix; acmeEmail = "martin@push-f.com"; in { config, lib, pkgs, ... }: @@ -101,11 +101,10 @@ in group = "www-data"; }; - # My personal website - nginx.virtualHosts.${domain} = { + nginx.virtualHosts.${domains.personalWebsite} = { enableACME = true; forceSSL = true; - root = "/srv/www/${domain}"; + root = "/srv/www/${domains.personalWebsite}"; }; }; |