From dd4165dfd39ea7f7dbe04fc1fcd0b4cec4faaa09 Mon Sep 17 00:00:00 2001 From: punkfairie Date: Thu, 14 Nov 2024 18:13:11 +0000 Subject: [PATCH] feat(devenv): Add base shell --- flake.nix | 5 ++++- shells/base.nix | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 shells/base.nix diff --git a/flake.nix b/flake.nix index 2ca5914..065242d 100644 --- a/flake.nix +++ b/flake.nix @@ -53,7 +53,10 @@ ); devenv.shells.default = { - imports = [ "${self}/shells/nix.nix" ]; + imports = [ + "${self}/shells/base.nix" + "${self}/shells/nix.nix" + ]; }; formatter = pkgs.nixfmt-rfc-style; diff --git a/shells/base.nix b/shells/base.nix new file mode 100644 index 0000000..a928c85 --- /dev/null +++ b/shells/base.nix @@ -0,0 +1,9 @@ +{ pkgs, ... }: +{ + packages = with pkgs; [ + gnupg + git + ]; + + env.GPG_TTY = "\$(tty)"; +}