From 545745bbf74c07510b347db77388aadb28b63666 Mon Sep 17 00:00:00 2001 From: catvayor Date: Fri, 11 Oct 2024 13:16:58 +0200 Subject: [PATCH] feat(shell.nix): init --- shell.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..080fd39 --- /dev/null +++ b/shell.nix @@ -0,0 +1,24 @@ +let + sources = import ./npins; + + importNixpkgsPath = + arch: p: + import p { + config.allowUnfree = true; + overlays = import ./pkgs/overlays.nix; + system = arch; + }; + + pkgs = import sources."nixos-unstable" { + config.allowUnfree = true; + overlays = import ./pkgs/overlays.nix; + }; + agenix = sources.agenix; +in +pkgs.mkShell { + packages = [ + pkgs.npins + pkgs.colmena + (pkgs.callPackage "${agenix}/pkgs/agenix.nix" { }) + ]; +}