diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..2441b86 --- /dev/null +++ b/install.sh @@ -0,0 +1,22 @@ +#/bin/bash -e + +# Install nix +sh <(curl -L https://nixos.org/nix/install) --no-daemon +source $HOME/.nix-profile/etc/profile.d/nix.sh + +# Install home-manager +nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager + +# Install nixgl +nix-channel --add https://github.com/guibou/nixGL/archive/main.tar.gz nixgl + +nix-channel --update + +nix-shell '' -A install + +# use my home-manager config +rm -rf ~/.config/home-manager +git clone https://git.thilo-billerbeck.com/thilobillerbeck/home-manager.git ~/.config/home-manager + +# switch configs +home-manager switch \ No newline at end of file diff --git a/packages.nix b/packages.nix index 9ebba0d..2c01384 100644 --- a/packages.nix +++ b/packages.nix @@ -30,6 +30,8 @@ in { tea dgraph nodePackages.nodemon + pocketbase + surrealdb ] ++ [ (import (fetchTarball "https://github.com/cachix/devenv/archive/v0.6.2.tar.gz")).default