diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-06-10 13:13:11 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-06-11 00:18:33 +0200 |
commit | 1c90c0dd73b5b74612be736ac8deeaa4547e2c26 (patch) | |
tree | 80a7bfcecd7478fb42c57616f706c90441475b88 /systems/eldiron/websites/commento | |
parent | e8d50f14185867d490f002aa5c408343ea5ea062 (diff) | |
download | Nix-1c90c0dd73b5b74612be736ac8deeaa4547e2c26.tar.gz Nix-1c90c0dd73b5b74612be736ac8deeaa4547e2c26.tar.zst Nix-1c90c0dd73b5b74612be736ac8deeaa4547e2c26.zip |
Migrate to borg backup
Diffstat (limited to 'systems/eldiron/websites/commento')
-rw-r--r-- | systems/eldiron/websites/commento/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/systems/eldiron/websites/commento/default.nix b/systems/eldiron/websites/commento/default.nix index c5131b8..9abc180 100644 --- a/systems/eldiron/websites/commento/default.nix +++ b/systems/eldiron/websites/commento/default.nix | |||
@@ -12,6 +12,9 @@ in | |||
12 | enable = lib.mkEnableOption "Enable commento website"; | 12 | enable = lib.mkEnableOption "Enable commento website"; |
13 | }; | 13 | }; |
14 | config = lib.mkIf cfg.enable { | 14 | config = lib.mkIf cfg.enable { |
15 | services.borgBackup.profiles.global.includedPaths = [ | ||
16 | "vhost/tools.immae.eu/commento" | ||
17 | ]; | ||
15 | myServices.dns.zones."immae.eu".subdomains.commento = | 18 | myServices.dns.zones."immae.eu".subdomains.commento = |
16 | with config.myServices.dns.helpers; ips servers.eldiron.ips.main; | 19 | with config.myServices.dns.helpers; ips servers.eldiron.ips.main; |
17 | 20 | ||