NxWSL -> NxDCS
This commit is contained in:
@@ -112,7 +112,7 @@
|
||||
'';
|
||||
nx_backup = let
|
||||
destination = if hyper.host == "NxNORTH" then "${hyper.home}/shared/" else "${hyper.home}/backups/";
|
||||
in pkgs.lib.mkIf (hyper.host != "NxACE" && hyper.host != "NxWSL") ''
|
||||
in pkgs.lib.mkIf (hyper.host != "NxACE" && hyper.host != "NxDCS") ''
|
||||
set RPATH (curl -s https://${hyper.domain}/latest-backup)
|
||||
rsync -avz --info=progress2 -e "ssh -p ${builtins.toString secrets.ssh.port}" ${hyper.user}@ssh.${hyper.domain}:"$RPATH" ${destination}
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user