comment the shell construction
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
9c3330b006
commit
aa4bcc61a4
@ -10,10 +10,14 @@ forEachSystem (
|
|||||||
let
|
let
|
||||||
inherit (inputs) nixpkgs sops-nix;
|
inherit (inputs) nixpkgs sops-nix;
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
|
||||||
|
# construct the shell provided by pre-commit for running hooks
|
||||||
pre-commit = pkgs.mkShell {
|
pre-commit = pkgs.mkShell {
|
||||||
inherit (checks.${system}.pre-commit-check) shellHook;
|
inherit (checks.${system}.pre-commit-check) shellHook;
|
||||||
buildInputs = checks.${system}.pre-commit-check.enabledPackages;
|
buildInputs = checks.${system}.pre-commit-check.enabledPackages;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# construct a shell for importing sops keys (also provides the sops binary)
|
||||||
sops = pkgs.mkShell {
|
sops = pkgs.mkShell {
|
||||||
sopsPGPKeyDirs = [ "./keys" ];
|
sopsPGPKeyDirs = [ "./keys" ];
|
||||||
packages = [
|
packages = [
|
||||||
@ -21,6 +25,8 @@ forEachSystem (
|
|||||||
sops-nix.packages.${system}.sops-import-keys-hook
|
sops-nix.packages.${system}.sops-import-keys-hook
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# constructs a custom shell with commonly used utilities
|
||||||
rad-dev = pkgs.mkShell {
|
rad-dev = pkgs.mkShell {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
deadnix
|
deadnix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user