diff options
Diffstat (limited to 'modules/private/websites/capitaines/production.nix')
-rw-r--r-- | modules/private/websites/capitaines/production.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/private/websites/capitaines/production.nix b/modules/private/websites/capitaines/production.nix index fe9c619..57d8787 100644 --- a/modules/private/websites/capitaines/production.nix +++ b/modules/private/websites/capitaines/production.nix | |||
@@ -9,10 +9,7 @@ in { | |||
9 | options.myServices.websites.capitaines.production.enable = lib.mkEnableOption "enable Capitaines's website"; | 9 | options.myServices.websites.capitaines.production.enable = lib.mkEnableOption "enable Capitaines's website"; |
10 | 10 | ||
11 | config = lib.mkIf cfg.enable { | 11 | config = lib.mkIf cfg.enable { |
12 | system.extraSystemBuilderCmds = '' | 12 | myServices.websites.webappDirs."${webappName}" = siteDir; |
13 | mkdir -p $out/webapps | ||
14 | ln -s ${siteDir} $out/webapps/${webappName} | ||
15 | ''; | ||
16 | 13 | ||
17 | services.websites.production.vhostConfs.capitaines_mastodon = { | 14 | services.websites.production.vhostConfs.capitaines_mastodon = { |
18 | certName = "capitaines"; | 15 | certName = "capitaines"; |