diff --git a/configs/default.nix b/configs/default.nix index 596dc78..ecf2979 100644 --- a/configs/default.nix +++ b/configs/default.nix @@ -8,6 +8,7 @@ in { ./bash.nix ./bluetooth.nix ./ccc.nix + ./kleiter.nix ./chromium.nix ./cloud.nix ./compton.nix @@ -258,7 +259,6 @@ in { "GoOnline".psk = "airbnbguest"; "security-by-obscurity".psk = "44629828256481964386"; "Mayflower".psk = "Fr31EsLan"; - "Kleiter Gast".psk = "Kleiter-Gast"; }; }; diff --git a/configs/kleiter.nix b/configs/kleiter.nix new file mode 100644 index 0000000..84f0102 --- /dev/null +++ b/configs/kleiter.nix @@ -0,0 +1,13 @@ +{ ... }: +let ssid = "Kleiter Gast"; +in { + networking.wireless.networks.${ssid}.psk = "Kleiter-Gast"; + + # fix dns + systemd.network.networks.kleiter = { + dns = [ "8.8.8.8" "8.8.4.4" ]; + networkConfig.DHCP = "yes"; + matchConfig.Name = "wlp3s0"; + matchConfig.SSID = ssid; + }; +}