backups with restic integrated
This commit is contained in:
@@ -94,4 +94,16 @@ networking = {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
system.stateVersion = "26.05";
|
||||
|
||||
|
||||
|
||||
services.restic.server = {
|
||||
enable = true;
|
||||
listenAddress = "10.0.0.4:8000";
|
||||
dataDir = "/var/lib/restic";
|
||||
appendOnly = true;
|
||||
extraFlags = [ "--no-auth" ];
|
||||
};
|
||||
|
||||
networking.firewall.interfaces.wg0.allowedTCPPorts = [ 8000 ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user