summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.nix2
-rw-r--r--mini/install.txt4
2 files changed, 5 insertions, 1 deletions
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
#