diff --git a/nixos/modules/borgbackup.nix b/nixos/modules/borgbackup.nix index c0a2931..df04505 100644 --- a/nixos/modules/borgbackup.nix +++ b/nixos/modules/borgbackup.nix @@ -115,10 +115,7 @@ in { ''; paths = "/home/fsaccount/sicherung"; encryption.mode = "none"; - environment = { - BORG_RSH = "ssh -i /home/fsaccount/.ssh/fsaccount"; - BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK = "yes"; - }; + environment.BORG_RSH = "ssh -i /home/fsaccount/.ssh/fsaccount"; repo = "borg@localhost:fsaccount"; startAt = "daily"; user = "fsaccount";