mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-22 16:08:50 +01:00
updated packages and added first install script
This commit is contained in:
parent
863b1b9a2e
commit
023c2136c1
2 changed files with 24 additions and 0 deletions
22
install.sh
Normal file
22
install.sh
Normal 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
|
|
@ -30,6 +30,8 @@ in {
|
||||||
tea
|
tea
|
||||||
dgraph
|
dgraph
|
||||||
nodePackages.nodemon
|
nodePackages.nodemon
|
||||||
|
pocketbase
|
||||||
|
surrealdb
|
||||||
] ++ [
|
] ++ [
|
||||||
(import (fetchTarball
|
(import (fetchTarball
|
||||||
"https://github.com/cachix/devenv/archive/v0.6.2.tar.gz")).default
|
"https://github.com/cachix/devenv/archive/v0.6.2.tar.gz")).default
|
||||||
|
|
Loading…
Reference in a new issue