about summary refs log tree commit diff
path: root/adho-configuration.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-10-16T11·47+0200
committerVincent Ambo <tazjin@gmail.com>2017-10-16T11·47+0200
commitb24b4b54d45074e73effd8d832b6fd611d534b32 (patch)
treed4d8ccded2f46f3873731b4601c7aefe4d8a9e2a /adho-configuration.nix
parent4b6ac623074cf34fd8682076a5bdb72fea331955 (diff)
refactor(adho): Replace connman with nix-based wifi config
Now that WPA2 is broken wifi passwords aren't secret anymore,
anyways ;-)
Diffstat (limited to 'adho-configuration.nix')
-rw-r--r--adho-configuration.nix20
1 files changed, 19 insertions, 1 deletions
diff --git a/adho-configuration.nix b/adho-configuration.nix
index 0f7121596aa7..b9dba8e3ff82 100644
--- a/adho-configuration.nix
+++ b/adho-configuration.nix
@@ -4,8 +4,26 @@
 {
   boot.initrd.luks.devices.adho.device = "/dev/disk/by-uuid/722006b0-9654-4ea1-8703-e0cf9ac1905e";
   networking.hostName = "adho";
-  networking.connman.enable = true;
   services.xserver.libinput.enable = true;
   services.xserver.videoDrivers = [ "intel" ];
   programs.light.enable = true;
+
+  networking.wireless.enable = true;
+  networking.wireless.networks = {
+    # Welcome to roast club!
+    "How do I computer?" = {
+      psk = "washyourface";
+    };
+
+    # Did someone say wifi credentials are secret?
+    # http://bit.ly/2gI43QP
+    "Amesto-mobile" = {
+      psk = "ostemAt1";
+    };
+
+    # Public places in Oslo:
+    "Abelone" = {
+      psk = "speakeasy";
+    };
+  };
 }