mirror of
https://github.com/Unkn0wnCat/dotfiles.git
synced 2025-05-01 10:56:20 +02:00
Cleanup install.sh
This commit is contained in:
parent
21f421847b
commit
db96e44549
1 changed files with 0 additions and 8 deletions
|
@ -11,18 +11,10 @@ DIR=$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )
|
|||
|
||||
echo "Installing NixOS..."
|
||||
|
||||
#if [ -d /etc/nixos/ssh ]; then
|
||||
# echo "Directory /etc/nixos/ssh exists - skipping."
|
||||
#else
|
||||
# sudo ln -s $DIR/../ssh /etc/nixos/ssh || echo "Could not link ssh assets"
|
||||
#fi
|
||||
|
||||
pushd $DIR
|
||||
|
||||
sudo nixos-rebuild switch --flake '..#'
|
||||
|
||||
popd
|
||||
|
||||
#sudo cp -r $DIR/../* /etc/nixos/ || echo "Could not copy modules"
|
||||
|
||||
echo "Done."
|
||||
|
|
Loading…
Add table
Reference in a new issue