containers/emerald: add navidrome env for lastfm and spotify
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run

This commit is contained in:
Cilly Leang 2026-03-18 03:08:18 +11:00
parent 48db46051d
commit 7d479007d9
Signed by: cilly
GPG key ID: 6500251E087653C9
5 changed files with 9 additions and 1 deletions

View file

@ -9,6 +9,7 @@
services.navidrome = {
enable = true;
environmentFile = "/binds/navidrome_env";
settings = {
Port = 4533;
Address = "[::]";

View file

@ -24,7 +24,7 @@
nixosConfigurations.container = nixpkgs.lib.nixosSystem {
inherit modules;
};
nixosModule = { ... }: {
nixosModule = { config, ... }: {
networking.nat = {
enable = true;
enableIPv6 = true;
@ -63,6 +63,11 @@
mountPoint = "/persist";
isReadOnly = false;
};
bindMounts."navidrome_env" = {
hostPath = config.age.secrets.navidrome_env.path;
mountPoint = "/binds/navidrome_env";
isReadOnly = true;
};
# flake = "path:" + ./.;
};
};