aboutsummaryrefslogtreecommitdiff
path: root/systems/eldiron/gitolite
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2024-06-10 13:13:11 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2024-06-11 00:18:33 +0200
commit1c90c0dd73b5b74612be736ac8deeaa4547e2c26 (patch)
tree80a7bfcecd7478fb42c57616f706c90441475b88 /systems/eldiron/gitolite
parente8d50f14185867d490f002aa5c408343ea5ea062 (diff)
downloadNix-1c90c0dd73b5b74612be736ac8deeaa4547e2c26.tar.gz
Nix-1c90c0dd73b5b74612be736ac8deeaa4547e2c26.tar.zst
Nix-1c90c0dd73b5b74612be736ac8deeaa4547e2c26.zip
Migrate to borg backup
Diffstat (limited to 'systems/eldiron/gitolite')
-rw-r--r--systems/eldiron/gitolite/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/systems/eldiron/gitolite/default.nix b/systems/eldiron/gitolite/default.nix
index 1885234..0882c18 100644
--- a/systems/eldiron/gitolite/default.nix
+++ b/systems/eldiron/gitolite/default.nix
@@ -11,6 +11,22 @@ in {
11 }; 11 };
12 12
13 config = lib.mkIf cfg.enable { 13 config = lib.mkIf cfg.enable {
14 services.borgBackup.profiles.global.ignoredPaths = [
15 "gitolite/.nix-.*"
16 "gitolite/.ssh"
17 "gitolite/.vim.*"
18 "gitolite/.bash_history"
19 ];
20 services.borgBackup.profiles.global.includedPaths = [
21 "gitolite/gitolite_ldap_groups.sh"
22 "gitolite/projects.list"
23 "gitolite/.gitolite.rc"
24 "gitolite/.gitolite"
25 "gitolite/repositories/github"
26 "gitolite/repositories/testing.git"
27 "gitolite/repositories/gitolite-admin.git"
28
29 ];
14 myServices.dns.zones."immae.eu".subdomains.git = 30 myServices.dns.zones."immae.eu".subdomains.git =
15 with config.myServices.dns.helpers; ips servers.eldiron.ips.main; 31 with config.myServices.dns.helpers; ips servers.eldiron.ips.main;
16 32