Skip to content

Commit 18eb2db

Browse files
committed
refactor: modularize backup tools
Extract backup tools from core user packages into optional module: - Add backup solutions: borgbackup, borgmatic, rclone
1 parent 9cc96d4 commit 18eb2db

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{ pkgs, ... }:
2+
3+
{
4+
# Backup and synchronization tools
5+
6+
home.packages = with pkgs; [
7+
# Backup solutions
8+
borgbackup
9+
borgmatic
10+
rclone
11+
];
12+
}

users/refnode/default.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
./common/optional/kubernetes.nix
66
./common/optional/rust.nix
77
./common/optional/mailtools.nix
8+
./common/optional/backup.nix
89
];
910

1011
# specify my home-manager configs
@@ -46,10 +47,6 @@
4647
# crypto
4748
gnupg
4849
pwgen
49-
# backup tools
50-
borgbackup
51-
borgmatic
52-
rclone
5350
tcptraceroute
5451
unixtools.watch
5552
fswatch

0 commit comments

Comments
 (0)