diff --git a/.nixpkgs/config.nix b/.nixpkgs/config.nix index 8f9e75a..ed75024 100644 --- a/.nixpkgs/config.nix +++ b/.nixpkgs/config.nix @@ -18,6 +18,7 @@ bat opentofu helm + stow ]; }; }; diff --git a/install.sh b/install.sh index 803bd00..6b79ee1 100644 --- a/install.sh +++ b/install.sh @@ -1,9 +1,12 @@ #!/bin/bash rm .bashrc .zshrc .ideavirmrc .gitmodules -sudo apt update && sudo apt install stow -stow --adopt . -git reset --hard +sudo apt update sudo mkdir -m 0755 /nix && sudo chown vscode /nix sh <(curl -L https://nixos.org/nix/install) --no-daemon /home/vscode/.nix-profile/bin/nix-env -iA nixpkgs.myPackages + +cd "/home/vscode/dotfiles" + +stow --adopt . +git reset --hard