From 3700ff0ffec2e3b986836968fa0eda31caf506b1 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Thu, 19 Sep 2024 13:15:32 -0400 Subject: [PATCH] borg: don't backup /etc/nixos --- nix/home-manager/progs/borg.nix | 34 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 18 deletions(-) diff --git a/nix/home-manager/progs/borg.nix b/nix/home-manager/progs/borg.nix index 23b8723..2b4318e 100644 --- a/nix/home-manager/progs/borg.nix +++ b/nix/home-manager/progs/borg.nix @@ -3,26 +3,24 @@ home = { location = { sourceDirectories = - [ - "/etc/nixos" - ] # stuff in my home directory: - ++ (map (f: "${homeDirectory}/${f}") [ - ".zen" - ".local/share/fish" - ".gnupg" - ".config/home-manager" - ".config/Signal" - ".wallpaper.png" - ".ssh" + ( + map (f: "${homeDirectory}/${f}") [ + ".zen" + ".local/share/fish" + ".gnupg" + ".config/Signal" + ".wallpaper.png" + ".ssh" - "dotfiles" - "Documents" - "projects" - "Pictures" - "school" - "justfile" - ]); + "dotfiles" + "Documents" + "projects" + "Pictures" + "school" + "justfile" + ] + ); excludeHomeManagerSymlinks = true; repositories = [ "ssh://server-public/mnt/bak/laptop" ];