aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorjerpo <spleefer6@yandex.ru>2023-08-05 17:26:30 +0500
committerjerpo <spleefer6@yandex.ru>2023-08-05 17:26:30 +0500
commite8ae745437124ee10c4d39ad3ca9a4ba4219add4 (patch)
treed00a8dad7580142a9054c05d22bcc57baa0aed0b /shell.nix
maybe this will work
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix10
1 files changed, 10 insertions, 0 deletions
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 ];
+ };
+}