Fix restore.sh - don't delete hw config
This commit is contained in:
parent
1a11adff62
commit
4a2200e076
1 changed files with 0 additions and 2 deletions
|
@ -1,8 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
SCRIPT_LOCATION=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
SCRIPT_LOCATION=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
||||||
|
|
||||||
sudo rm -rf /etc/nixos/*
|
|
||||||
sudo mkdir /etc/nixos/
|
|
||||||
sudo cp -r $SCRIPT_LOCATION/etc-nixos/* /etc/nixos/
|
sudo cp -r $SCRIPT_LOCATION/etc-nixos/* /etc/nixos/
|
||||||
|
|
||||||
sudo rm -rf $HOME/.config/home-manager/
|
sudo rm -rf $HOME/.config/home-manager/
|
||||||
|
|
Loading…
Reference in a new issue