2023-12-11 08:50:52 +01:00
|
|
|
{ pkgs, sops-nix, deploy-rs, ... }: {
|
2023-09-19 10:54:33 +02:00
|
|
|
default = pkgs.mkShell {
|
2023-09-19 10:52:43 +02:00
|
|
|
NIX_CONFIG = "experimental-features = nix-command flakes";
|
|
|
|
# imports all files ending in .asc/.gpg
|
|
|
|
sopsPGPKeyDirs = [
|
2023-09-23 02:05:32 +02:00
|
|
|
"keys/hosts"
|
|
|
|
"keys/users"
|
2023-09-19 10:52:43 +02:00
|
|
|
];
|
2023-09-19 14:03:06 +02:00
|
|
|
|
2023-09-19 10:52:43 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgs.nix
|
|
|
|
pkgs.home-manager
|
|
|
|
pkgs.git
|
2023-09-21 14:07:25 +02:00
|
|
|
pkgs.vim
|
2023-09-22 10:40:12 +02:00
|
|
|
pkgs.alejandra
|
|
|
|
pkgs.nixfmt
|
2023-09-22 14:09:37 +02:00
|
|
|
pkgs.ssh-to-pgp
|
2023-09-19 14:03:06 +02:00
|
|
|
(pkgs.callPackage sops-nix {}).sops-import-keys-hook
|
2023-12-11 08:52:10 +01:00
|
|
|
deploy-rs.packages.${system}.deploy-rs
|
2023-12-11 08:52:24 +01:00
|
|
|
];
|
2023-09-19 10:54:50 +02:00
|
|
|
};
|
2023-08-15 05:29:23 +02:00
|
|
|
}
|