restic: Do not limit upload by default
This allows servers that have a fast internet connection to complete their backup in seconds instead of minutes.
This commit is contained in:
parent
4e78d87bde
commit
e31c264c92
|
@ -19,6 +19,7 @@
|
|||
nginx.hardening.enable = true;
|
||||
restic.system = {
|
||||
enable = true;
|
||||
uploadLimit = 1500;
|
||||
extraPaths = [
|
||||
"/data"
|
||||
];
|
||||
|
|
|
@ -15,7 +15,10 @@
|
|||
gui.enable = true;
|
||||
media-proxy.enable = true;
|
||||
mullvad.enable = true;
|
||||
restic.system.enable = true;
|
||||
restic.system = {
|
||||
enable = true;
|
||||
uploadLimit = 1500;
|
||||
};
|
||||
unfree.allowSoftware = true;
|
||||
wireguard.home.enable = true;
|
||||
};
|
||||
|
|
|
@ -9,7 +9,10 @@
|
|||
|
||||
sbruder = {
|
||||
gui.enable = true;
|
||||
restic.system.enable = true;
|
||||
restic.system = {
|
||||
enable = true;
|
||||
uploadLimit = 1500;
|
||||
};
|
||||
unfree.allowSoftware = true;
|
||||
wireguard.home.enable = true;
|
||||
};
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
mullvad.enable = true;
|
||||
restic.system = {
|
||||
enable = true;
|
||||
uploadLimit = 1500;
|
||||
extraPaths = [
|
||||
"/data"
|
||||
];
|
||||
|
|
|
@ -60,7 +60,7 @@ in
|
|||
};
|
||||
uploadLimit = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.int;
|
||||
default = 1500;
|
||||
default = null;
|
||||
};
|
||||
prune = lib.mkEnableOption "pruning";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue