This commit is contained in:
2026-06-15 19:22:58 +09:00
parent ee0fe4c1b4
commit 33e5f0ae7c
11 changed files with 171 additions and 3 deletions
+17 -2
View File
@@ -9,12 +9,27 @@ _: {
devShells.dotnix = pkgs.mkShell {
packages = [
config.treefmt.build.wrapper
pkgs.gitleaks
pkgs.git
pkgs.gitleaks
pkgs.pre-commit
# sops-nix / age
pkgs.sops
pkgs.age
pkgs.ssh-to-age
# YubiKey for sops editing
pkgs.age-plugin-yubikey
pkgs.yubikey-manager
pkgs.pcsc-tools
];
shellHook = config.pre-commit.settings.shellHook;
shellHook = ''
${config.pre-commit.settings.shellHook}
export SOPS_AGE_KEY_FILE="$HOME/.config/sops/age/yubikey-identity.txt"
'';
};
};
}