more fixes
This commit is contained in:
parent
69ead0a340
commit
7f5061e700
|
@ -76,7 +76,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.PasswordAuthentication = true;
|
settings.PasswordAuthentication = true;
|
||||||
settings.KbdInteractiveAuthentication = true;
|
settings.KbdInteractiveAuthentication = true;
|
||||||
ettings.PermitRootLogin = "yes";
|
settings.PermitRootLogin = "yes";
|
||||||
|
|
||||||
# only ed25519 keys, make them persistent
|
# only ed25519 keys, make them persistent
|
||||||
hostKeys = [{
|
hostKeys = [{
|
||||||
|
|
|
@ -126,6 +126,10 @@ nixos-install --no-root-passwd --root /mnt
|
||||||
|
|
||||||
umount -Rl /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
|
# after install tasks for extra file systems
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue