diff --git a/clanModules/borgbackup/roles/server.nix b/clanModules/borgbackup/roles/server.nix index 48c7089c3..2e37cf032 100644 --- a/clanModules/borgbackup/roles/server.nix +++ b/clanModules/borgbackup/roles/server.nix @@ -28,7 +28,13 @@ in let fullPath = borgbackupIpMachinePath machine; in - if builtins.pathExists fullPath then machine else null + if builtins.pathExists fullPath then + machine + else + lib.warn '' + Machine ${machine} does not have a borgbackup key at ${fullPath}, + run `clan facts generate ${machine}` to generate it. + '' null ) allClients; machinesWithKey = lib.filter (x: x != null) machinesMaybeKey;