nix/shell.nix
iFargle de1bad145b
Some checks failed
ssh-test / ssh-test (push) Failing after 34s
Test
2023-12-11 19:45:34 +09:00

22 lines
No EOL
528 B
Nix

{ pkgs, sops-nix, deploy-rs, system, ... }: {
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.home-manager
pkgs.git
pkgs.vim
pkgs.alejandra
pkgs.nixfmt
pkgs.ssh-to-pgp
(pkgs.callPackage sops-nix {}).sops-import-keys-hook
deploy-rs.packages.${system}.deploy-rs
];
};
}