feat(hosts/pi4): Setup networking
This commit is contained in:
parent
1fa4d2bc87
commit
dab42bd8c2
1 changed files with 11 additions and 0 deletions
|
@ -24,4 +24,15 @@
|
||||||
users.users.root.openssh.authorizedKeys.keys = [
|
users.users.root.openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHQyRXFQ6iA5p0vDuoGSHZfajiVZPAGIyqhTziM7QgBV gaspard@nixos"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHQyRXFQ6iA5p0vDuoGSHZfajiVZPAGIyqhTziM7QgBV gaspard@nixos"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking = {
|
||||||
|
interfaces."wlan0".useDHCP = true;
|
||||||
|
wireless = {
|
||||||
|
interfaces = ["wlan0"];
|
||||||
|
enable = true;
|
||||||
|
networks = {
|
||||||
|
"TestNetwork".psk = "not_an_actual_password_leak";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue