-{ 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";
extraConfig = [
''
Use Apaxy "${varDir}" "title .duplicity-ignore"
- <FilesMatch ".+">
- Header set Content-Disposition attachment
- </FilesMatch>
<Directory "${varDir}">
Options -Indexes
AllowOverride None