Bruno BELANYI
7cebaa3751
This is a bit special, as some of the keys do not belong to NixOS hosts, so store those in the module itself, and into host-specific directories for the keys that are NixOS hosts.
14 lines
261 B
Nix
14 lines
261 B
Nix
# Host-specific secrets
|
|
let
|
|
keys = import ../../../../keys;
|
|
|
|
all = [
|
|
# This host is a laptop, it does not have a host key
|
|
# Allow me to modify the secrets anywhere
|
|
keys.users.ambroisie
|
|
];
|
|
in
|
|
{
|
|
"wireguard/private-key.age".publicKeys = all;
|
|
}
|