1
Fork 0

Add configuration for nix itself

This enables the experimental features required to run `nix develop`.
This commit is contained in:
caem 2024-06-06 12:55:21 +02:00
parent 62a2c850ae
commit 8136b7633f
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 2 additions and 0 deletions

View file

@ -14,6 +14,7 @@ fi
if [ ! -x "$HOME/.nix-profile/bin/home-manager" ]; then if [ ! -x "$HOME/.nix-profile/bin/home-manager" ]; then
ln -svf "$BASE_PATH/users/blank/home-manager" "$HOME/.config/home-manager" ln -svf "$BASE_PATH/users/blank/home-manager" "$HOME/.config/home-manager"
ln -svf "$BASE_PATH/users/blank/nixpkgs" "$HOME/.config/nixpkgs" ln -svf "$BASE_PATH/users/blank/nixpkgs" "$HOME/.config/nixpkgs"
ln -svf "$BASE_PATH/users/blank/nix" "$HOME/.config/nix"
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
nix-channel --update nix-channel --update

1
users/blank/nix/nix.conf Normal file
View file

@ -0,0 +1 @@
experimental-features = nix-command flakes