diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-03 14:52:00 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-03 14:52:00 -0700 |
commit | 814a495e9c74e3211c6b6640397111115832207b (patch) | |
tree | 1daeffdaf1665468da128d900ec696b54c456209 /hosts/common/server | |
parent | firefox: set duckduckgo as default search engine (diff) | |
download | world-814a495e9c74e3211c6b6640397111115832207b.tar.gz |
create a new role for navidrome
Apply the role to tahoe.
Diffstat (limited to '')
-rw-r--r-- | hosts/common/server/navidrome.nix | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/hosts/common/server/navidrome.nix b/hosts/common/server/navidrome.nix deleted file mode 100644 index e37ccfe..0000000 --- a/hosts/common/server/navidrome.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ config, pkgs, lib, ... }: - -{ - services.navidrome = { - enable = true; - settings = { - MusicFolder = "/data/fast/music"; - Address = "0.0.0.0"; - httpPort = "4533"; - }; - }; - - services.restic.backups = { - navidrome = { - paths = [ "/var/lib/navidrome/" ]; - repository = "/data/slow/backups/systems"; - passwordFile = config.age.secrets.restic-repo-systems.path; - timerConfig = { OnCalendar = "00:35"; }; - initialize = true; - extraBackupArgs = [ "--tag navidrome" ]; - pruneOpts = [ "--keep-daily 7" "--keep-weekly 4 --keep-monthly 6" ]; - }; - }; -} |