refactor: move max into dentritic pattern
This commit is contained in:
19
modules/shell.nix
Normal file
19
modules/shell.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ ... }: {
|
||||
perSystem = { pkgs, ... }: {
|
||||
devShells.default = pkgs.mkShell {
|
||||
shellHook = ''
|
||||
export SOPS_AGE_KEY="$(${pkgs.age-plugin-yubikey}/bin/age-plugin-yubikey --identity)"
|
||||
'';
|
||||
|
||||
packages = with pkgs; [
|
||||
age
|
||||
ssh-to-age
|
||||
sops
|
||||
just
|
||||
nix-inspect
|
||||
|
||||
age-plugin-yubikey
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user