From 32e5d6cd9bad09fda90d3720173127d7f0acfbe8 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Tue, 23 Nov 2021 20:23:26 +0100 Subject: replace literal instances of 'aristote.fr' by ${config.networking.domain} --- config/services/web/quentin/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/services/web/quentin/default.nix') diff --git a/config/services/web/quentin/default.nix b/config/services/web/quentin/default.nix index da21d59..d5ccf80 100644 --- a/config/services/web/quentin/default.nix +++ b/config/services/web/quentin/default.nix @@ -1,7 +1,7 @@ { pkgs, ... }: { - services.nginx.virtualHosts."quentin.aristote.fr" = { + services.nginx.virtualHosts."quentin.${config.networking.domain}" = { locations."/".root = "${pkgs.personal.academic-webpage}"; forceSSL = true; enableACME = true; -- cgit v1.2.3 From dd528873676fc569a2d8631f039ebe362b661a07 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Tue, 23 Nov 2021 20:26:54 +0100 Subject: add config as argument --- config/services/web/quentin/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/services/web/quentin/default.nix') diff --git a/config/services/web/quentin/default.nix b/config/services/web/quentin/default.nix index d5ccf80..468dec4 100644 --- a/config/services/web/quentin/default.nix +++ b/config/services/web/quentin/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: { services.nginx.virtualHosts."quentin.${config.networking.domain}" = { -- cgit v1.2.3