From 7f5061e700ae5cca8c33afa70b7da5bbfebd49e3 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Wed, 10 Jan 2024 21:23:35 +0100 Subject: [PATCH] more fixes --- common.nix | 2 +- mini/install.txt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/common.nix b/common.nix index 8662a25..4ac2b63 100644 --- a/common.nix +++ b/common.nix @@ -76,7 +76,7 @@ in enable = true; settings.PasswordAuthentication = true; settings.KbdInteractiveAuthentication = true; - ettings.PermitRootLogin = "yes"; + settings.PermitRootLogin = "yes"; # only ed25519 keys, make them persistent hostKeys = [{ diff --git a/mini/install.txt b/mini/install.txt index c1167ae..c908978 100644 --- a/mini/install.txt +++ b/mini/install.txt @@ -126,6 +126,10 @@ nixos-install --no-root-passwd --root /mnt umount -Rl /mnt +# sync all /data after the install + +sudo -E rsync -va --delete --one-file-system /data root@192.168.13.100:/ + # # after install tasks for extra file systems #