mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-08 11:35:37 +03:00
navidrome: create music folder with systemd.tmpfiles
This commit is contained in:
parent
49f0b1f0d6
commit
2a574e25f1
1 changed files with 5 additions and 0 deletions
|
@ -96,6 +96,11 @@ in
|
||||||
mode = "700";
|
mode = "700";
|
||||||
inherit (cfg) user group;
|
inherit (cfg) user group;
|
||||||
};
|
};
|
||||||
|
"${cfg.settings.MusicFolder or (WorkingDirectory + "/music")}"."d" = {
|
||||||
|
mode = ":700";
|
||||||
|
user = ":${cfg.user}";
|
||||||
|
group = ":${cfg.group}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
services.navidrome = {
|
services.navidrome = {
|
||||||
description = "Navidrome Media Server";
|
description = "Navidrome Media Server";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue