diff options
author | Franck Cuny <franck@fcuny.net> | 2022-04-02 09:31:40 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-04-02 09:31:40 -0700 |
commit | e8d8aa18096565a4f8c5521b8474ba0b5cba0c15 (patch) | |
tree | 21e6c5288d565a8e8d6676185b5bcd30bbfc3ee2 /hosts/profiles | |
parent | consolidate configuration for music curation (diff) | |
download | world-e8d8aa18096565a4f8c5521b8474ba0b5cba0c15.tar.gz |
nas: add videos to the backups
We also don't need the music-organizer anymore since we're switching to beets.
Diffstat (limited to 'hosts/profiles')
-rw-r--r-- | hosts/profiles/nas.nix | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/hosts/profiles/nas.nix b/hosts/profiles/nas.nix index cee0dc4..6585766 100644 --- a/hosts/profiles/nas.nix +++ b/hosts/profiles/nas.nix @@ -1,6 +1,4 @@ -{ inputs, config, pkgs, lib, ... }: -let music-organizer = inputs.mytools.packages.${pkgs.system}.music-organizer; -in { +{ config, pkgs, lib, ... }: { imports = [ # other profiles ./server.nix @@ -15,9 +13,6 @@ in { ../common/server/navidrome.nix ]; - # tool to organize the music on the NAS - environment.systemPackages = with pkgs; [ music-organizer ]; - users.groups.nas.gid = 5000; users.users.nas = { uid = 5000; @@ -27,7 +22,7 @@ in { services.restic.backups = { media = { - paths = [ "/data/fast/music" "/data/fast/photos" ]; + paths = [ "/data/fast/music" "/data/fast/photos" "/data/fast/videos" ]; repository = "/data/slow/backups/systems"; passwordFile = config.age.secrets.restic-repo-systems.path; timerConfig = { OnCalendar = "00:55"; }; |