From 4b0c88736979fe2cb8e98e8e0ae12caf7e876141 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Tue, 25 Apr 2023 20:21:03 +0100 Subject: Add config --- shell.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..9525915 --- /dev/null +++ b/shell.nix @@ -0,0 +1,10 @@ +# Shell for bootstrapping flake-enabled nix and home-manager +# You can enter it through 'nix develop' or (legacy) 'nix-shell' + +{ pkgs ? (import ./nixpkgs.nix) { } }: { + default = pkgs.mkShell { + # Enable experimental features without having to specify the argument + NIX_CONFIG = "experimental-features = nix-command flakes"; + nativeBuildInputs = with pkgs; [ nix home-manager git ]; + }; +} -- cgit v1.2.3-54-g00ecf