add localnet wifi connection to age secrets
This commit is contained in:
parent
e656c395f3
commit
56a120d0f1
12
boxes/aristotle/agenix.nix
Normal file
12
boxes/aristotle/agenix.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ machines, ... }:
|
||||
{
|
||||
age = {
|
||||
secrets = {
|
||||
nm-home-net-config = {
|
||||
file = ../../secrets/nm-home-net-config.age;
|
||||
path = "/etc/NetworkManager/system-connections/main.nmconnection";
|
||||
};
|
||||
};
|
||||
identityPaths = [ "/home/usr/.ssh/id_ed25519" ];
|
||||
};
|
||||
}
|
@ -4,6 +4,7 @@
|
||||
imports = [
|
||||
../../lappy-config
|
||||
./paperless.nix
|
||||
./agenix.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
BIN
secrets/nm-home-net-config.age
Normal file
BIN
secrets/nm-home-net-config.age
Normal file
Binary file not shown.
@ -19,4 +19,7 @@ in {
|
||||
|
||||
# nextcloud
|
||||
"nextcloud-admin-passwd.age".publicKeys = all;
|
||||
|
||||
# networkmanager
|
||||
"nm-home-net-config.age".publicKeys = with machines; [ copernicus.pubkey aristotle.pubkey ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user