summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/connman.nix12
-rw-r--r--modules/network-manager.nix10
-rw-r--r--satoshipad.nix1
3 files changed, 23 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
+  ];
+}
diff --git a/satoshipad.nix b/satoshipad.nix
index 6c8d6d34..6aba5a6f 100644
--- a/satoshipad.nix
+++ b/satoshipad.nix
@@ -28,6 +28,7 @@
     ./modules/satoshipay.nix
     ./modules/accounting.nix
     ./modules/passwords.nix
+    ./modules/network-manager.nix
   ];
 
   networking.hostName = "satoshipad";