Files
dot/nix/modules/home/secrets.nix
Martin Pander 3bdd7e1c50 Add secrets
2026-02-07 16:11:52 +01:00

17 lines
286 B
Nix

{ inputs, config, ... }:
{
imports = [
inputs.sops-nix.homeManagerModules.sops
];
sops = {
defaultSopsFile = ../../secrets/secrets.yaml;
defaultSopsFormat = "yaml";
age = {
keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
};
};
}