summaryrefslogtreecommitdiff
path: root/modules/root/secrets.nix
blob: 416bcde487e61826831b6eaa8e04df646e5323c3 (plain)
1
2
3
4
5
6
7
8
{ inputs, config, userDetails, ... }: {
	imports = [ inputs.sops-nix.nixosModules.sops ];

	sops = {
		defaultSopsFormat = "yaml";
		age.sshKeyPaths = [ "${userDetails.home}/.ssh/id_ed25519" "/root/.ssh/id_ed25519" ];
	};
}