fixes and improvements

This commit is contained in:
Bart van der Braak 2025-01-18 18:27:41 +01:00
parent 4f6a9c39f7
commit 79de3e1fc2
3 changed files with 2 additions and 6 deletions

View file

@ -8,10 +8,6 @@ if [ -L /etc/nixos ] && [ -e /etc/nixos ]; then
exit 0
fi
# Copy hardware configuration
cp /etc/nixos/hardware-configuration.nix "$nixos_home"
echo "Copied generated hardware configuration into $nixos_home"
# Backup current /etc/nixos if it exists
if [ -e /etc/nixos ]; then
mv /etc/nixos /etc/nixos.bak