From 8136b7633f7c894cb47dde552d891ba0912b66a9 Mon Sep 17 00:00:00 2001 From: caem Date: Thu, 6 Jun 2024 12:55:21 +0200 Subject: [PATCH] Add configuration for nix itself This enables the experimental features required to run `nix develop`. --- non-nixos-install.sh | 1 + users/blank/nix/nix.conf | 1 + 2 files changed, 2 insertions(+) create mode 100644 users/blank/nix/nix.conf diff --git a/non-nixos-install.sh b/non-nixos-install.sh index 2652119..c1a445d 100755 --- a/non-nixos-install.sh +++ b/non-nixos-install.sh @@ -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 diff --git a/users/blank/nix/nix.conf b/users/blank/nix/nix.conf new file mode 100644 index 0000000..c7d7291 --- /dev/null +++ b/users/blank/nix/nix.conf @@ -0,0 +1 @@ +experimental-features = nix-command flakes