From 3afb03e13b4bce3bc48101601d14ce17f194d7bb Mon Sep 17 00:00:00 2001 From: Matthieu Morin Date: Sat, 8 Jun 2024 21:21:38 +0000 Subject: [PATCH] add a simple shell --- simple-shell.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 simple-shell.nix diff --git a/simple-shell.nix b/simple-shell.nix new file mode 100644 index 0000000..a5bbe96 --- /dev/null +++ b/simple-shell.nix @@ -0,0 +1,22 @@ +{ pkgs ? import {} +}: { + default = pkgs.mkShell { + NIX_CONFIG = "extra-experimental-features = nix-command flakes repl-flake"; + nativeBuildInputs = builtins.attrValues { + inherit (pkgs) + # Required for pre-commit hook 'nixpkgs-fmt' only on Darwin + # REF: + libiconv + + nix + home-manager + git + just + pre-commit + + age + ssh-to-age + sops; + }; + }; +}