From e8d8aa18096565a4f8c5521b8474ba0b5cba0c15 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 2 Apr 2022 09:31:40 -0700 Subject: nas: add videos to the backups We also don't need the music-organizer anymore since we're switching to beets. --- hosts/profiles/nas.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'hosts/profiles') 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"; }; -- cgit 1.4.1