summaryrefslogtreecommitdiff
path: root/modules/root/secrets.nix
blob: 464a8f23be4920fbda47f3faaee59083a0c28ebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ pkgs, inputs, config, userDetails, ... }: {
	imports = [ inputs.sops-nix.nixosModules.sops ];

	sops = {
		defaultSopsFile = ./resources/secrets/secrets.yaml;
		defaultSopsFormat = "yaml";
		age.keyFile = "${userDetails.home.root}/.config/sops/age/keys.txt";

		secrets = {
			wireless-env = { };
		};
	};
}