aboutsummaryrefslogtreecommitdiff
path: root/hosts/profiles/nas.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-06 07:31:56 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-06 07:31:56 -0700
commitc41d9b7d8a6f8452f9dfb2650acb0926fef0d212 (patch)
treec9bd1e0f6e1236a29bab44ae79e574290be4b2a2 /hosts/profiles/nas.nix
parentenable AMD module correctly (diff)
downloadinfra-c41d9b7d8a6f8452f9dfb2650acb0926fef0d212.tar.gz
refactor navidrome to a module
Diffstat (limited to '')
-rw-r--r--hosts/profiles/nas.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/hosts/profiles/nas.nix b/hosts/profiles/nas.nix
index dcc73e2..aaeee75 100644
--- a/hosts/profiles/nas.nix
+++ b/hosts/profiles/nas.nix
@@ -9,7 +9,6 @@
../common/server/unifi.nix
../common/server/gitea.nix
../common/server/rclone.nix
- ../common/server/navidrome.nix
];
users.groups.nas.gid = 5000;
@@ -19,9 +18,15 @@
isSystemUser = true;
};
- my.services.samba = {
- enable = true;
- publicShares = [ "/data/fast/music" "/data/fast/videos" ];
+ my.services = {
+ samba = {
+ enable = true;
+ publicShares = [ "/data/fast/music" "/data/fast/videos" ];
+ };
+ navidrome = {
+ enable = true;
+ musicFolder = "/data/fast/music";
+ };
};
services.restic.backups = {