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)
downloadnixfiles-0cef6aa80ff7d52afe80b7086cc3452bf020722a.tar.lz
nixfiles-0cef6aa80ff7d52afe80b7086cc3452bf020722a.tar.zst
nixfiles-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 00000000..cbd216cf
--- /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 00000000..b85b8f41
--- /dev/null
+++ b/modules/network-manager.nix
@@ -0,0 +1,10 @@
+{ config, pkgs, ... }:
+
+{ networking.networkmanager = {
+    enable = true;
+  };
+
+  environment.systemPackages = with pkgs; [
+    networkmanagerapplet
+  ];
+}