summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2017-09-09 16:25:32 +0200
committerAlan Pearce2017-09-09 16:49:30 +0200
commit0cef6aa80ff7d52afe80b7086cc3452bf020722a (patch)
tree804bfc742db28e332cc7628730fb84baee83a690 /modules
parent12be12c3130dfcb9190afe35a462e4ba2c850a31 (diff)
downloadnixos-configuration-0cef6aa80ff7d52afe80b7086cc3452bf020722a.tar.lz
nixos-configuration-0cef6aa80ff7d52afe80b7086cc3452bf020722a.tar.zst
nixos-configuration-0cef6aa80ff7d52afe80b7086cc3452bf020722a.zip
Add modules for network configuration
Diffstat (limited to 'modules')
-rw-r--r--modules/connman.nix12
-rw-r--r--modules/network-manager.nix10
2 files changed, 22 insertions, 0 deletions
diff --git a/modules/connman.nix b/modules/connman.nix
new file mode 100644
index 0000000..cbd216c
--- /dev/null
+++ b/modules/connman.nix
@@ -0,0 +1,12 @@
+{ config, pkgs, ... }:
+
+{ networking.connman = {
+    enable = true;
+  };
+
+  environment.systemPackages = with pkgs; [
+    cmst
+    connman-notify
+    connman_dmenu
+  ];
+}
diff --git a/modules/network-manager.nix b/modules/network-manager.nix
new file mode 100644
index 0000000..b85b8f4
--- /dev/null
+++ b/modules/network-manager.nix
@@ -0,0 +1,10 @@
+{ config, pkgs, ... }:
+
+{ networking.networkmanager = {
+    enable = true;
+  };
+
+  environment.systemPackages = with pkgs; [
+    networkmanagerapplet
+  ];
+}