use doas
This commit is contained in:
parent
a9898f7b3c
commit
1c73eb6ab5
|
@ -117,7 +117,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.100:/mnt/data
|
doas scp -r /data/nixos root@192.168.13.100:/mnt/data
|
||||||
|
|
||||||
# install
|
# install
|
||||||
|
|
||||||
|
@ -136,4 +136,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.100:/data/
|
doas rsync -va --delete --one-file-system /data/ root@192.168.13.100:/data/
|
||||||
|
|
|
@ -118,7 +118,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.171:/mnt/data
|
doas scp -r /data/nixos root@192.168.13.171:/mnt/data
|
||||||
|
|
||||||
# install
|
# install
|
||||||
|
|
||||||
|
@ -137,4 +137,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.171:/data/
|
doas rsync -va --delete --one-file-system /data/ root@192.168.13.171:/data/
|
||||||
|
|
Loading…
Reference in a new issue