2021-09-30 20:26:36 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
sudo mkdir -p /persist/etc/NetworkManager
|
|
|
|
sudo cp -r {,/persist}/etc/NetworkManager/system-connections
|
|
|
|
sudo mkdir -p /persist/var/lib/NetworkManager
|
|
|
|
sudo cp /var/lib/NetworkManager/{secret_key,seen-bssids,timestamps} /persist/var/lib/NetworkManager/
|
|
|
|
|
|
|
|
sudo cp -r {,/persist}/etc/nixos
|
|
|
|
sudo cp {,/persist}/etc/adjtime
|
|
|
|
sudo cp {,/persist}/etc/NIXOS
|
|
|
|
|
2021-09-30 21:30:17 +02:00
|
|
|
sudo cp {,/persist}/etc/ssh/ssh_host_*
|
2021-09-30 20:26:36 +02:00
|
|
|
sudo cp {,/persist}/etc/shadow
|