nix/shell.nix

19 lines
420 B
Nix

{ pkgs, sops-nix, ... }: {
default = pkgs.mkShell {
NIX_CONFIG = "experimental-features = nix-command flakes";
# imports all files ending in .asc/.gpg
sopsPGPKeyDirs = [
"keys/hosts"
"keys/users"
];
nativeBuildInputs = [
pkgs.nix
pkgs.git
pkgs.vim
pkgs.nixfmt
pkgs.ssh-to-pgp
(pkgs.callPackage sops-nix {}).sops-import-keys-hook
];
};
}