X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Fcapitaines%2Fproduction.nix;h=57d878737a42eef9ed0c114990d7d02dae0ce06e;hb=4288c2f2431fb782b0d512b1b3749187f2374b6a;hp=fe9c619491d5a7752032a486b72cd52ba856f1e2;hpb=f40f5b235b890f46770a22f005f8a0f664cf0562;p=perso%2FImmae%2FConfig%2FNix.git 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 { options.myServices.websites.capitaines.production.enable = lib.mkEnableOption "enable Capitaines's website"; config = lib.mkIf cfg.enable { - system.extraSystemBuilderCmds = '' - mkdir -p $out/webapps - ln -s ${siteDir} $out/webapps/${webappName} - ''; + myServices.websites.webappDirs."${webappName}" = siteDir; services.websites.production.vhostConfs.capitaines_mastodon = { certName = "capitaines";