add localnet wifi connection to age secrets

This commit is contained in:
stupidcomputer 2024-12-31 12:24:03 -06:00
parent e656c395f3
commit 56a120d0f1
4 changed files with 16 additions and 0 deletions

View 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" ];
};
}

View File

@ -4,6 +4,7 @@
imports = [
../../lappy-config
./paperless.nix
./agenix.nix
./hardware-configuration.nix
];

Binary file not shown.

View File

@ -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 ];
}