borg
This commit is contained in:
parent
a753fcea8f
commit
3b27902fc0
5 changed files with 95 additions and 43 deletions
24
flake.lock
generated
24
flake.lock
generated
|
@ -88,11 +88,11 @@
|
||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748020806,
|
"lastModified": 1748078251,
|
||||||
"narHash": "sha256-g14/YAdrO5KkWvXoltBgqNHt24jUxRraB79See08nhM=",
|
"narHash": "sha256-wkuQa28OX+N/eJXokvau7yOF0rKEUfKHtN6YvB7z4AA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "d818fd9717043b794d0012fbc9f6422e12915eaf",
|
"rev": "972d48193efde5e8618d907e0a4d2751a329a434",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1560,11 +1560,11 @@
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "nix",
|
"dir": "nix",
|
||||||
"lastModified": 1747573338,
|
"lastModified": 1748097989,
|
||||||
"narHash": "sha256-L5pVi8lvf916b/eQh4iIOK53kz/hgBmiNZSeFImMHHo=",
|
"narHash": "sha256-5i53CqWRUyQZpEWLi848GUon7CcZIM++1k/EiKcd/Qg=",
|
||||||
"owner": "wez",
|
"owner": "wez",
|
||||||
"repo": "wezterm",
|
"repo": "wezterm",
|
||||||
"rev": "5663e749948df3ed3c2d8ee0bfea6c85226310d9",
|
"rev": "f150ade689a0daae2658c01e3ae91227a1d1fc74",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1583,11 +1583,11 @@
|
||||||
"rust-overlay": "rust-overlay_2"
|
"rust-overlay": "rust-overlay_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747111562,
|
"lastModified": 1748057133,
|
||||||
"narHash": "sha256-GAqhWoxaBIk0tgoecZPa8gTHDHxNc0JtlwWHZN2iOOo=",
|
"narHash": "sha256-t9XPqehcZYDh4YVDq6w/c/L+MhoE/9MIQSYTQOwMwp8=",
|
||||||
"owner": "Supreeeme",
|
"owner": "Supreeeme",
|
||||||
"repo": "xwayland-satellite",
|
"repo": "xwayland-satellite",
|
||||||
"rev": "ec9ff64c1e0cbec42710b580b7c0f759b1694e72",
|
"rev": "572fa4a2bfe920daacdefc7e564b49115413306a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1659,11 +1659,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747998984,
|
"lastModified": 1748090150,
|
||||||
"narHash": "sha256-G5UvtOKD3fmVTnVTh1XCZVoD0HsKO8QI18sMWlYxjLs=",
|
"narHash": "sha256-WrcGLv4Q94B2eG+jj5EckQfItR4zTAz/8uX2to4bU4g=",
|
||||||
"owner": "0xc000022070",
|
"owner": "0xc000022070",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "e48b7105d570f5e66e1891292525e585eeffa58d",
|
"rev": "d25f7e7fc5a2ebcb4c41924b4755eec642e6f18d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -91,9 +91,45 @@ in
|
||||||
rclone = {
|
rclone = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
borgmatic = {
|
||||||
|
enable = true;
|
||||||
|
backups = {
|
||||||
|
eddie = {
|
||||||
|
location = {
|
||||||
|
excludeHomeManagerSymlinks = true;
|
||||||
|
patterns = [
|
||||||
|
"R /home/emenel"
|
||||||
|
"- .cache"
|
||||||
|
"- .nix*"
|
||||||
|
"- .steam*"
|
||||||
|
"- Sync"
|
||||||
|
"- Mounts"
|
||||||
|
"- .BitwigStudio"
|
||||||
|
"- .local/share/bitwig"
|
||||||
|
"- .local/share/flatpak"
|
||||||
|
];
|
||||||
|
repositories = [
|
||||||
|
{
|
||||||
|
"path" = "ssh://oyi3ydnz@oyi3ydnz.repo.borgbase.com/./repo";
|
||||||
|
"label" = "eddie on borgbase";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
retention = {
|
||||||
|
keepDaily = 7;
|
||||||
|
keepHourly = 3;
|
||||||
|
keepMonthly = 6;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
borgmatic = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
gpg-agent = {
|
gpg-agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -614,37 +614,39 @@
|
||||||
|
|
||||||
users.groups.uinput = { };
|
users.groups.uinput = { };
|
||||||
|
|
||||||
services.borgmatic = {
|
# services.borgmatic = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
configurations = {
|
# configurations = {
|
||||||
eddie = {
|
# eddie = {
|
||||||
patterns = [
|
# source_directories = [
|
||||||
"R /home/emenel"
|
# "/home/emenel"
|
||||||
"- .cache"
|
# ];
|
||||||
"- .nix*"
|
# exclude_patterns = [
|
||||||
"- .steam*"
|
# "- .cache"
|
||||||
"- Sync"
|
# "- .nix*"
|
||||||
"- Mounts"
|
# "- .steam*"
|
||||||
"- .BitwigStudio"
|
# "- Sync"
|
||||||
"- .local/share/bitwig"
|
# "- Mounts"
|
||||||
"- .local/share/flatpak"
|
# "- .BitwigStudio"
|
||||||
"- .local/share/Steam"
|
# "- .local/share/bitwig"
|
||||||
];
|
# "- .local/share/flatpak"
|
||||||
repositories = [
|
# "- .local/share/Steam"
|
||||||
{
|
# ];
|
||||||
"path" = "ssh://oyi3ydnz@oyi3ydnz.repo.borgbase.com/./repo";
|
# repositories = [
|
||||||
"label" = "eddie on borgbase";
|
# {
|
||||||
}
|
# "path" = "ssh://oyi3ydnz@oyi3ydnz.repo.borgbase.com/./repo";
|
||||||
];
|
# "label" = "eddie on borgbase";
|
||||||
keep_daily = 3;
|
# }
|
||||||
keep_hourly = 3;
|
# ];
|
||||||
keep_monthly = 2;
|
# keep_daily = 3;
|
||||||
# btrfs = {
|
# keep_hourly = 3;
|
||||||
# btrfs_command = "${pkgs.btrfs-progs}/bin/btrfs";
|
# keep_monthly = 2;
|
||||||
# };
|
# # btrfs = {
|
||||||
};
|
# # btrfs_command = "${pkgs.btrfs-progs}/bin/btrfs";
|
||||||
};
|
# # };
|
||||||
};
|
# };
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
|
||||||
|
|
||||||
#do not change
|
#do not change
|
||||||
|
|
|
@ -17,6 +17,10 @@
|
||||||
|
|
||||||
(with pkgs; [
|
(with pkgs; [
|
||||||
|
|
||||||
|
reaper
|
||||||
|
reaper-reapack-extension
|
||||||
|
reaper-sws-extension
|
||||||
|
|
||||||
bitwig-studio5-3
|
bitwig-studio5-3
|
||||||
# needed for bitwigh drivenbymoss extension
|
# needed for bitwigh drivenbymoss extension
|
||||||
zenity
|
zenity
|
||||||
|
|
10
testpatterns.txt
Normal file
10
testpatterns.txt
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
R /home/emenel
|
||||||
|
- .cache"
|
||||||
|
- .nix*"
|
||||||
|
- .steam*"
|
||||||
|
- Sync"
|
||||||
|
- Mounts"
|
||||||
|
- .BitwigStudio"
|
||||||
|
- .local/share/bitwig"
|
||||||
|
- .local/share/flatpak"
|
||||||
|
- .local/share/Steam"
|
Loading…
Add table
Add a link
Reference in a new issue