17 lines
456 B
Nix
17 lines
456 B
Nix
{
|
|
config,
|
|
...
|
|
}:{
|
|
sops.defaultSopsFile = ../secrets/common.yaml;
|
|
sops.age.keyFile = "/var/lib/sops-nix/age-key.txt"; #opt/nixflake/secrets/age-key.txt;
|
|
sops.age.generateKey = true;
|
|
|
|
sops.secrets.wifi = {};
|
|
|
|
sops.secrets."${config.hostcfg.hostname}_ssh_priv" = {};
|
|
sops.secrets."${config.hostcfg.hostname}_ssh_pub" = {};
|
|
sops.secrets."${config.hostcfg.hostname}_wg_priv" = {};
|
|
sops.secrets."${config.hostcfg.hostname}_wg_pub" = {};
|
|
|
|
}
|