about summary refs log tree commit diff
path: root/configuration.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-28T15·53+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-28T15·53+0200
commit6f2a45fe58e966c50ce472580d0cfaa2ba145ea0 (patch)
tree0a9fbdf2fe575c877c3bed8ebcfe1ea54ebfb732 /configuration.nix
parent851d43e7380e84be6fb2f6bc6fae345629d85d70 (diff)
style(config): Minor style fix
Diffstat (limited to 'configuration.nix')
-rw-r--r--configuration.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/configuration.nix b/configuration.nix
index 76466c7e39f5..27c55b47a011 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -24,14 +24,16 @@
   boot.kernelModules = [ "snd-seq" "snd-rawmidi" ];
   hardware.pulseaudio.package = pkgs.pulseaudioFull;
 
-  # Don't use ISP's DNS servers:
-  networking.nameservers = [
-    "1.1.1.1"
-    "1.0.0.1"
-  ];
+  networking = {
+    # Don't use ISP's DNS servers:
+    nameservers = [
+      "1.1.1.1"
+      "1.0.0.1"
+    ];
 
-  # Open Chromecast-related ports
-  firewall.allowedTCPPorts = [ 5556 5558 ];
+    # Open Chromecast-related ports
+    firewall.allowedTCPPorts = [ 5556 5558 ];
+  };
 
   # Configure emacs:
   # (actually, that's a lie, this only installs emacs!)