From ab8f306d7c2c49b8116e1af7b355ed2384617ed9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Thu, 12 Dec 2019 00:24:23 +0100 Subject: Add specification for the private config file as a module. --- modules/private/websites/immae/production.nix | 4 ++-- modules/private/websites/immae/release.nix | 4 ++-- modules/private/websites/immae/temp.nix | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'modules/private/websites/immae') diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix index 3b2301a..12d6ddb 100644 --- a/modules/private/websites/immae/production.nix +++ b/modules/private/websites/immae/production.nix @@ -1,10 +1,10 @@ -{ lib, pkgs, config, myconfig, ... }: +{ lib, pkgs, config, ... }: let cfg = config.myServices.websites.immae.production; varDir = "/var/lib/buildbot/outputs/immaeEu"; coursDir = "/var/lib/buildbot/outputs/cours"; rechercheDir = "/var/lib/buildbot/outputs/recherche"; - env = myconfig.env.websites.immae; + env = config.myEnv.websites.immae; in { options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website"; diff --git a/modules/private/websites/immae/release.nix b/modules/private/websites/immae/release.nix index 5cc35ee..a503c90 100644 --- a/modules/private/websites/immae/release.nix +++ b/modules/private/websites/immae/release.nix @@ -1,8 +1,8 @@ -{ lib, pkgs, config, myconfig, ... }: +{ lib, pkgs, config, ... }: let cfg = config.myServices.websites.immae.release; varDir = "/var/lib/ftp/release.immae.eu"; - env = myconfig.env.websites.release; + env = config.myEnv.websites.release; in { options.myServices.websites.immae.release.enable = lib.mkEnableOption "enable Release' website"; diff --git a/modules/private/websites/immae/temp.nix b/modules/private/websites/immae/temp.nix index 288c8cc..b3b28cc 100644 --- a/modules/private/websites/immae/temp.nix +++ b/modules/private/websites/immae/temp.nix @@ -1,8 +1,8 @@ -{ lib, pkgs, config, myconfig, ... }: +{ lib, pkgs, config, ... }: let cfg = config.myServices.websites.immae.temp; varDir = "/var/lib/ftp/temp.immae.eu"; - env = myconfig.env.websites.temp; + env = config.myEnv.websites.temp; in { options.myServices.websites.immae.temp.enable = lib.mkEnableOption "enable Temp' website"; -- cgit v1.2.3