mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-06-29 12:49:10 +00:00
fixes and improvements
This commit is contained in:
parent
4f6a9c39f7
commit
79de3e1fc2
3 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue