use doas
This commit is contained in:
parent
518798f1f8
commit
7e2f1546ad
|
@ -144,7 +144,7 @@ nixos-generate-config --root /mnt
|
||||||
|
|
||||||
# copy config data from another machine including secrets
|
# copy config data from another machine including secrets
|
||||||
|
|
||||||
sudo scp -r /data/nixos root@192.168.13.115:/mnt/data
|
doas scp -r /data/nixos root@192.168.13.115:/mnt/data
|
||||||
|
|
||||||
# install
|
# install
|
||||||
|
|
||||||
|
@ -161,4 +161,4 @@ shutdown -h now
|
||||||
|
|
||||||
# sync all /data after the install
|
# sync all /data after the install
|
||||||
|
|
||||||
sudo -E rsync -va --delete --one-file-system /data/ root@192.168.13.115:/data/
|
doas -E rsync -va --delete --one-file-system /data/ root@192.168.13.115:/data/
|
||||||
|
|
Loading…
Reference in a new issue