Add configuration for nix itself
This enables the experimental features required to run `nix develop`.
This commit is contained in:
parent
62a2c850ae
commit
8136b7633f
2 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ fi
|
|||
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/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 --update
|
||||
|
|
1
users/blank/nix/nix.conf
Normal file
1
users/blank/nix/nix.conf
Normal file
|
@ -0,0 +1 @@
|
|||
experimental-features = nix-command flakes
|
Loading…
Reference in a new issue