feat: passby router - aqua

This commit is contained in:
Ryan Yin
2024-01-21 17:22:59 +08:00
parent a2814f326c
commit 22066db41b
26 changed files with 542 additions and 176 deletions
+7 -4
View File
@@ -1,4 +1,8 @@
{nixos-licheepi4a, ...}:
{
nixos-licheepi4a,
vars_networking,
...
}:
#############################################################
#
# Nozomi - NixOS configuration for Lichee Pi 4A
@@ -6,8 +10,7 @@
#############################################################
let
hostName = "nozomi"; # Define your hostname.
vars = import ../vars.nix;
hostAddress = vars.networking.hostAddress.${hostName};
hostAddress = vars_networking.hostAddress.${hostName};
in {
imports = [
# import the licheepi4a module, which contains the configuration for bootloader/kernel/firmware
@@ -19,7 +22,7 @@ in {
# Set static IP address / gateway / DNS servers.
networking = {
inherit hostName;
inherit (vars.networking) defaultGateway nameservers;
inherit (vars_networking) defaultGateway nameservers;
wireless = {
# https://wiki.archlinux.org/title/wpa_supplicant