NixOS router is now in active use :)

This commit is contained in:
2023-04-04 20:53:38 -06:00
parent 68bd70b525
commit 3c683e7b9e
4 changed files with 62 additions and 11 deletions

View File

@@ -1,8 +1,13 @@
let
keys = import ../common/ssh.nix;
system = keys.system;
systems = keys.systems;
users = keys.users;
all = users ++ systems;
wireless = [
system.router
] ++ users;
in
{
# TODO: Minimum necessary access to keys
@@ -17,5 +22,6 @@ in
"wolframalpha.age".publicKeys = all;
# hostapd
"hostapd-pw-experimental-tower.age".publicKeys = all;
"hostapd-pw-experimental-tower.age".publicKeys = wireless;
"hostapd-pw-CXNK00BF9176.age".publicKeys = wireless;
}