},
"locked": {
"lastModified": 1,
- "narHash": "sha256-YCnvttJd1LKqwvXPN68mBrm8o5UG+uatTnjiboaPHEQ=",
+ "narHash": "sha256-BSLDSxgA1/hX6EBS+dDIlBB3ogb3d8hP6gLNb99Z/oo=",
"path": "../flakes",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-/e9AQdrzAEVNHPWELMzlnx3BVItZYsEXGQ7hExGssWI=",
+ "narHash": "sha256-QCaeTC61eUGcWqLsPhkHg15UJYZk1CxvxpKR7SNJ0ic=",
"path": "../systems/eldiron",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-YCnvttJd1LKqwvXPN68mBrm8o5UG+uatTnjiboaPHEQ=",
+ "narHash": "sha256-BSLDSxgA1/hX6EBS+dDIlBB3ogb3d8hP6gLNb99Z/oo=",
"path": "./flakes",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-/e9AQdrzAEVNHPWELMzlnx3BVItZYsEXGQ7hExGssWI=",
+ "narHash": "sha256-QCaeTC61eUGcWqLsPhkHg15UJYZk1CxvxpKR7SNJ0ic=",
"path": "../systems/eldiron",
"type": "path"
},
},
"locked": {
"lastModified": 1,
- "narHash": "sha256-/e9AQdrzAEVNHPWELMzlnx3BVItZYsEXGQ7hExGssWI=",
+ "narHash": "sha256-QCaeTC61eUGcWqLsPhkHg15UJYZk1CxvxpKR7SNJ0ic=",
"path": "../systems/eldiron",
"type": "path"
},
varDir = "/var/lib/buildbot/outputs/immae/blog";
historyDir = "/var/lib/buildbot/outputs/immae/history";
docsDir = "/var/lib/buildbot/outputs/immae/docs/";
+ patchesDir = "/var/lib/buildbot/outputs/immae/patches/";
in {
options.myServices.websites.immae.production.enable = lib.mkEnableOption "enable Immae's website";
security.acme.certs.immae.extraDomainNames = [ "immae.eu" ];
services.websites.env.production.bindMounts."${varDir}" = {};
services.websites.env.production.bindMounts."${docsDir}" = {};
+ services.websites.env.production.bindMounts."${patchesDir}" = {};
services.websites.env.production.bindMounts."${historyDir}" = {};
services.websites.env.production.vhostConfs.immae_production = {
certName = "immae";
Header always set Access-Control-Allow-Origin "*"
</Directory>
+ Alias /patches ${patchesDir}
+ <Directory ${patchesDir}>
+ DirectoryIndex index.htm index.html
+ Options Indexes FollowSymLinks MultiViews Includes
+ AllowOverride All
+ Require all granted
+ </Directory>
+
Alias /docs ${docsDir}
<Directory ${docsDir}>
DirectoryIndex index.htm index.html
source = builtins.fetchGit {
url = "https://git.immae.eu/github/bastienwirtz/homer.git";
ref = "gitolite_local/local_changes";
- rev = "bb60c5b869931f305f15c5bfa9cdb3f68702f01f";
- narHash = "sha256-xBIBUJhQ7KPY0d92pW9ErA9OvGafWcxyuGkbHShF4Bs=";
+ rev = "af6db21ee92824ddd9c4b9574018789619326ffc";
+ narHash = "sha256-TAf2oIPu5ZfRbxahAjOxwQ/z/g82pXmLPU8LhwxRgXs";
};
yarnModules = yarn2nix-moretea.mkYarnModules rec {
nodejs = nodejs_16;