manatee: Configure lbsync from an agenix secret

This commit is contained in:
Alexander Heldt committed 2026-11-08 18:49:48 +01:00
1 parent 6f855b3ff2
commit 9c9e2456e2
3 files changed
+16 -1

No files matched your search

+8 -1
View File
@@ -39,9 +39,16 @@ in
MusicFolder = "/mnt/media/public/music"; MusicFolder = "/mnt/media/public/music";
}; };
lbsync.enable = true; lbsync = {
enable = true;
settingsFile = config.age.secrets."lbsync-config".path;
}; };
}; };
};
age.secrets."lbsync-config" = lib.mkIf navidromeEnabled {
file = ../../../../secrets/manatee/lbsync-config.age;
};
# `MusicFolder` is bind mounted into the service's own mount namespace when it # `MusicFolder` is bind mounted into the service's own mount namespace when it
# starts, so starting before the ZFS dataset is mounted leaves it with an empty folder # starts, so starting before the ZFS dataset is mounted leaves it with an empty folder
+7
View File
@@ -0,0 +1,7 @@
age-encryption.org/v1
-> ssh-ed25519 wkRvNA XHbiGPFSh8koUQa7yuAEOIW3gwEe5WzpHMQcisr/P1k
TCfgoOzWDlxS6Hw++pQT7UjSGfWQ7CoKpFqOAFox+NU
-> ssh-ed25519 +oNaHQ BuxdeRlgH1Q94cChu9YDGAoQBtTANmeYD438ROk/oCQ
IPfIM7d/aTbV42AGBRztFxFOA27vlUQGH465e5kbNCQ
--- QpuFv/6MiwHDygBZflT1rDfF+65O346k8be5i0A0zNI
~-è˜L¢‘p�-¹¨CøHÁÕ¡5Ö0ŸY1–Sg×ÂlÆõ¸)zïÉBÅÄi#Åéú lÇâ�`ŠÛGÔìz¹>†Ô¸—à2)½§æà@çÕM5*9çf¾V-õ-i�ï=7[å,!Ë-ÈV
+1
View File
@@ -54,6 +54,7 @@ in {
"manatee/restic-password.age".publicKeys = [ manatee alex ]; "manatee/restic-password.age".publicKeys = [ manatee alex ];
"manatee/restic-cloud-sync-key.age".publicKeys = [ manatee alex ]; "manatee/restic-cloud-sync-key.age".publicKeys = [ manatee alex ];
"manatee/restic-cloud-sync-repository.age".publicKeys = [ manatee alex ]; "manatee/restic-cloud-sync-repository.age".publicKeys = [ manatee alex ];
"manatee/lbsync-config.age".publicKeys = [ manatee alex ];
"backwards/root.backwards.age".publicKeys = [ backwards alex ]; "backwards/root.backwards.age".publicKeys = [ backwards alex ];
"backwards/root.backwards.pub.age".publicKeys = [ backwards alex ]; "backwards/root.backwards.pub.age".publicKeys = [ backwards alex ];