This commit is contained in:
iFargle 2023-09-19 21:03:06 +09:00
parent 28bf9b826f
commit 19fcc6f4ad

View file

@ -6,19 +6,18 @@
sops-nix ? (import ./lib/sops-nix.nix) { }
}: {
default = pkgs.mkShell {
sops-nix = sops-nix;
NIX_CONFIG = "experimental-features = nix-command flakes";
# imports all files ending in .asc/.gpg
sopsPGPKeyDirs = [
"${toString ./.}/keys/hosts"
"${toString ./.}/keys/users"
];
nativeBuildInputs = [
pkgs.nix
pkgs.home-manager
pkgs.git
(sops-nix {}).sops-import-keys-hook
(pkgs.callPackage sops-nix {}).sops-import-keys-hook
];
};
}