forked from mirrors_public/oddlama_nix-config
feat: update kanidm and provisioning
This commit is contained in:
parent
ee5556401c
commit
1b0934b565
6 changed files with 449 additions and 395 deletions
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
bc,
|
||||
lib,
|
||||
nvd,
|
||||
writeShellApplication,
|
||||
}: let
|
||||
deploy = writeShellApplication {
|
||||
|
@ -109,7 +107,8 @@
|
|||
ssh "$host" -- "$store_path"/bin/switch-to-configuration "$ACTION" \
|
||||
|| echo "Error while activating new system" >&2
|
||||
if [[ -n "$prev_system" ]]; then
|
||||
ssh "$host" -- ${lib.getExe nvd} --color always diff "$prev_system" "$store_path" || true
|
||||
# nvd must be installed on the target system for this to work
|
||||
ssh "$host" -- nvd --color always diff "$prev_system" "$store_path" || true
|
||||
fi
|
||||
time_next
|
||||
echo "[1;32m Applied [m✅ [34m$host[m [90min ''${T_LAST}s[m"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue