borg
This commit is contained in:
parent
a753fcea8f
commit
3b27902fc0
5 changed files with 95 additions and 43 deletions
|
@ -614,37 +614,39 @@
|
|||
|
||||
users.groups.uinput = { };
|
||||
|
||||
services.borgmatic = {
|
||||
enable = true;
|
||||
configurations = {
|
||||
eddie = {
|
||||
patterns = [
|
||||
"R /home/emenel"
|
||||
"- .cache"
|
||||
"- .nix*"
|
||||
"- .steam*"
|
||||
"- Sync"
|
||||
"- Mounts"
|
||||
"- .BitwigStudio"
|
||||
"- .local/share/bitwig"
|
||||
"- .local/share/flatpak"
|
||||
"- .local/share/Steam"
|
||||
];
|
||||
repositories = [
|
||||
{
|
||||
"path" = "ssh://oyi3ydnz@oyi3ydnz.repo.borgbase.com/./repo";
|
||||
"label" = "eddie on borgbase";
|
||||
}
|
||||
];
|
||||
keep_daily = 3;
|
||||
keep_hourly = 3;
|
||||
keep_monthly = 2;
|
||||
# btrfs = {
|
||||
# btrfs_command = "${pkgs.btrfs-progs}/bin/btrfs";
|
||||
# };
|
||||
};
|
||||
};
|
||||
};
|
||||
# services.borgmatic = {
|
||||
# enable = true;
|
||||
# configurations = {
|
||||
# eddie = {
|
||||
# source_directories = [
|
||||
# "/home/emenel"
|
||||
# ];
|
||||
# exclude_patterns = [
|
||||
# "- .cache"
|
||||
# "- .nix*"
|
||||
# "- .steam*"
|
||||
# "- Sync"
|
||||
# "- Mounts"
|
||||
# "- .BitwigStudio"
|
||||
# "- .local/share/bitwig"
|
||||
# "- .local/share/flatpak"
|
||||
# "- .local/share/Steam"
|
||||
# ];
|
||||
# repositories = [
|
||||
# {
|
||||
# "path" = "ssh://oyi3ydnz@oyi3ydnz.repo.borgbase.com/./repo";
|
||||
# "label" = "eddie on borgbase";
|
||||
# }
|
||||
# ];
|
||||
# keep_daily = 3;
|
||||
# keep_hourly = 3;
|
||||
# keep_monthly = 2;
|
||||
# # btrfs = {
|
||||
# # btrfs_command = "${pkgs.btrfs-progs}/bin/btrfs";
|
||||
# # };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
|
||||
#do not change
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue