updated packages and added first install script

This commit is contained in:
Thilo Billerbeck 2023-05-07 17:08:52 +02:00
parent 863b1b9a2e
commit 023c2136c1
2 changed files with 24 additions and 0 deletions

22
install.sh Normal file
View file

@ -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 '<home-manager>' -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

View file

@ -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