mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
hosts/ni: add Gonic server
This commit is contained in:
parent
3fbd2b3606
commit
95bc32f806
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user