Update powerwash_lite.sh

added line to reset dconf
This commit is contained in:
batvin321 2025-02-21 17:50:46 -05:00
parent e7a9f7b934
commit 1f3d70596f

View File

@ -1,4 +1,3 @@
echo "This will delete ALL local files and reset this Nixbook Lite!";
read -p "Do you want to continue? (y/n): " answer
@ -22,6 +21,9 @@ echo "Powerwashing NixBook Lite..."
cp /etc/nixbook/config/desktop_lite/* ~/Desktop/
cp -R /etc/nixbook/config/applications_lite ~/.local/share/applications
# Reload dconf config
dconf load / < ~/.config/dconf.txt
# Clear space and rebuild
sudo nix-collect-garbage -d
sudo nixos-rebuild boot --upgrade