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;
|
nginx.hardening.enable = true;
|
||||||
restic.system = {
|
restic.system = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
uploadLimit = 1500;
|
||||||
extraPaths = [
|
extraPaths = [
|
||||||
"/data"
|
"/data"
|
||||||
];
|
];
|
||||||
|
|
|
@ -15,7 +15,10 @@
|
||||||
gui.enable = true;
|
gui.enable = true;
|
||||||
media-proxy.enable = true;
|
media-proxy.enable = true;
|
||||||
mullvad.enable = true;
|
mullvad.enable = true;
|
||||||
restic.system.enable = true;
|
restic.system = {
|
||||||
|
enable = true;
|
||||||
|
uploadLimit = 1500;
|
||||||
|
};
|
||||||
unfree.allowSoftware = true;
|
unfree.allowSoftware = true;
|
||||||
wireguard.home.enable = true;
|
wireguard.home.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,7 +9,10 @@
|
||||||
|
|
||||||
sbruder = {
|
sbruder = {
|
||||||
gui.enable = true;
|
gui.enable = true;
|
||||||
restic.system.enable = true;
|
restic.system = {
|
||||||
|
enable = true;
|
||||||
|
uploadLimit = 1500;
|
||||||
|
};
|
||||||
unfree.allowSoftware = true;
|
unfree.allowSoftware = true;
|
||||||
wireguard.home.enable = true;
|
wireguard.home.enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
mullvad.enable = true;
|
mullvad.enable = true;
|
||||||
restic.system = {
|
restic.system = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
uploadLimit = 1500;
|
||||||
extraPaths = [
|
extraPaths = [
|
||||||
"/data"
|
"/data"
|
||||||
];
|
];
|
||||||
|
|
|
@ -60,7 +60,7 @@ in
|
||||||
};
|
};
|
||||||
uploadLimit = lib.mkOption {
|
uploadLimit = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.int;
|
type = lib.types.nullOr lib.types.int;
|
||||||
default = 1500;
|
default = null;
|
||||||
};
|
};
|
||||||
prune = lib.mkEnableOption "pruning";
|
prune = lib.mkEnableOption "pruning";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue