Compare commits

...
2 Commits
Author SHA1 Message Date
Alexander Heldt 9c9e2456e2 manatee: Configure lbsync from an agenix secret 2026-11-08 18:49:48 +01:00
Alexander Heldt 6f855b3ff2 Update ndp flake input 2026-11-08 18:49:48 +01:00
4 changed files with 20 additions and 5 deletions

No files matched your search

Generated
+4 -4
View File
@@ -711,11 +711,11 @@
]
},
"locked": {
"lastModified": 1794149226,
"narHash": "sha256-riBGsYaDWOn/z9cbQTKxeByR3IKTmIwt+fyRbG7TKOY=",
"lastModified": 1794159748,
"narHash": "sha256-6qI7tHI095wuD66SRyWF5mIGCQGG2kNiaAdvXjR+VkY=",
"ref": "main",
"rev": "54563ca9132c0070c2e8873ff45df6409d4e2d17",
"revCount": 2,
"rev": "ad16985277e0d4952a468eb3488cf74dabf670f7",
"revCount": 4,
"type": "git",
"url": "ssh://gitea@git.ppp.pm:1122/alex/ndp.git"
},
+8 -1
View File
@@ -39,10 +39,17 @@ in
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
# starts, so starting before the ZFS dataset is mounted leaves it with an empty folder
systemd.services.navidrome = lib.mkIf navidromeEnabled {
+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-cloud-sync-key.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.pub.age".publicKeys = [ backwards alex ];