hosts/ni: add Gonic server

This commit is contained in:
Gabriel Arazas 2023-05-27 13:17:35 +08:00
parent 3fbd2b3606
commit 95bc32f806
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -43,6 +43,23 @@ in
type = "ed25519";
}];
services.gonic = {
enable = true;
settings = {
listen-addr = "127.0.0.1:4747";
cache-path = "/var/cache/gonic";
music-path = [
"/srv/music"
];
podcast-path = "/var/cache/gonic/podcasts";
jukebox-enabled = true;
scan-interval = 1;
scan-at-start-enabled = true;
};
};
sops.secrets =
let
getKey = key: {