about summary refs log tree commit diff
path: root/adho-configuration.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-10-20T22·33+0200
committerVincent Ambo <tazjin@gmail.com>2017-10-20T22·33+0200
commit9b7810ae428418907d62765a7724a8362f2952a7 (patch)
tree21a9968f998ec317c593bc5d8509e600b17d8fb4 /adho-configuration.nix
parentbc1f098bac7f8269a668f91a704ff4fc4b0bba49 (diff)
style(all): Consistently use block/attr format & clean up
Diffstat (limited to 'adho-configuration.nix')
-rw-r--r--adho-configuration.nix32
1 files changed, 17 insertions, 15 deletions
diff --git a/adho-configuration.nix b/adho-configuration.nix
index a9328925ab6a..d3560a51660a 100644
--- a/adho-configuration.nix
+++ b/adho-configuration.nix
@@ -3,27 +3,29 @@
 
 {
   boot.initrd.luks.devices.adho.device = "/dev/disk/by-uuid/722006b0-9654-4ea1-8703-e0cf9ac1905e";
-  networking.hostName = "adho";
   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";
-    };
+  networking = {
+    hostName = "adho";
+    wireless.enable = true;
+    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";
-    };
+      # Did someone say wifi credentials are secret?
+      # http://bit.ly/2gI43QP
+      "Amesto-mobile" = {
+        psk = "ostemAt1";
+      };
 
-    # Public places in Oslo:
-    "Abelone" = {
-      psk = "speakeasy";
+      # Public places in Oslo:
+      "Abelone" = {
+        psk = "speakeasy";
+      };
     };
   };