From ed54ff619fb50a0eb4024b8bbd22699341c44d5b Mon Sep 17 00:00:00 2001 From: Myned <dev@bjork.tech> Date: Wed, 2 Apr 2025 14:31:08 -0500 Subject: [PATCH] sbc: add kodi dir to borgmatic --- profiles/sbc/default.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/profiles/sbc/default.nix b/profiles/sbc/default.nix index 5d150f2..e074122 100644 --- a/profiles/sbc/default.nix +++ b/profiles/sbc/default.nix @@ -1,4 +1,9 @@ -{config, ...}: { +{ + config, + lib, + ... +}: +with lib; { custom = { profile = "sbc"; desktop = "kodi"; @@ -24,7 +29,14 @@ borgmatic = { enable = true; - sources = [config.custom.containers.directory]; + + sources = + [ + config.custom.containers.directory + ] + ++ optionals config.home-manager.users.kodi.programs.kodi.enable [ + config.home-manager.users.kodi.programs.kodi.datadir + ]; }; # netdata = {