diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 01:35:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 02:11:48 +0200 |
commit | 1a64deeb894dc95e2645a75771732c6cc53a79ad (patch) | |
tree | 1b9df4838f894577a09b9b260151756272efeb53 /modules/private/websites/denise/aventuriers.nix | |
parent | fa25ffd4583cc362075cd5e1b4130f33306103f0 (diff) | |
download | Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.gz Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.zst Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.zip |
Squash changes containing private information
There were a lot of changes since the previous commit, but a lot of them
contained personnal information about users. All thos changes got
stashed into a single commit (history is kept in a different place) and
private information was moved in a separate private repository
Diffstat (limited to 'modules/private/websites/denise/aventuriers.nix')
-rw-r--r-- | modules/private/websites/denise/aventuriers.nix | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/modules/private/websites/denise/aventuriers.nix b/modules/private/websites/denise/aventuriers.nix deleted file mode 100644 index 2bbf7bf..0000000 --- a/modules/private/websites/denise/aventuriers.nix +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | { lib, config, pkgs, ... }: | ||
2 | let | ||
3 | cfg = config.myServices.websites.denise.aventuriers; | ||
4 | varDir = "/var/lib/buildbot/outputs/denise/aventuriers"; | ||
5 | in { | ||
6 | options.myServices.websites.denise.aventuriers.enable = lib.mkEnableOption "enable Denise's Aventuriers website"; | ||
7 | |||
8 | config = lib.mkIf cfg.enable { | ||
9 | services.websites.env.production.vhostConfs.denise_aventuriers = { | ||
10 | certName = "denise"; | ||
11 | addToCerts = true; | ||
12 | hosts = [ "aventuriers.syanni.eu" ]; | ||
13 | root = varDir; | ||
14 | extraConfig = [ | ||
15 | '' | ||
16 | <Directory ${varDir}> | ||
17 | DirectoryIndex aventuriers.html | ||
18 | Options Indexes FollowSymLinks MultiViews Includes | ||
19 | AllowOverride None | ||
20 | Require all granted | ||
21 | </Directory> | ||
22 | '' | ||
23 | ]; | ||
24 | }; | ||
25 | }; | ||
26 | } | ||