diff options
Diffstat (limited to 'hosts/ganymede/networking.nix')
| -rw-r--r-- | hosts/ganymede/networking.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/hosts/ganymede/networking.nix b/hosts/ganymede/networking.nix index 082068c..42a66c7 100644 --- a/hosts/ganymede/networking.nix +++ b/hosts/ganymede/networking.nix @@ -6,7 +6,7 @@ }: let static = { ssid = "williams"; - pskFile = config.collinux.secrets."williams-psk".path; + pskFile = config.collinux.secrets."williams-psk".path; # file should look like "psk=<PSK>" ip = "192.168.50.2/24"; gateway = "192.168.50.1"; }; @@ -28,8 +28,8 @@ in { wireless = { enable = true; - networks.${static.ssid}.pskRaw = "ext:psk"; secretsFile = static.pskFile; + networks.${static.ssid}.pskRaw = "ext:psk"; }; }; systemd = { @@ -55,6 +55,14 @@ in { DHCP = "no"; }; }; + + networks."20-teather" = { + # for next time I break networking... + name = "enp*"; + networkConfig = { + DHCP = "yes"; + }; + }; }; }; |
