all repos — nixfiles @ 0cef6aa80ff7d52afe80b7086cc3452bf020722a

System and user configuration, managed by nix and home-manager

Add modules for network configuration
Alan Pearce alan@alanpearce.eu
Sat, 09 Sep 2017 16:25:32 +0200
commit

0cef6aa80ff7d52afe80b7086cc3452bf020722a

parent

12be12c3130dfcb9190afe35a462e4ba2c850a31

3 files changed, 23 insertions(+), 0 deletions(-)

jump to
A modules/connman.nix
@@ -0,0 +1,12 @@+{ config, pkgs, ... }:
+
+{ networking.connman = {
+    enable = true;
+  };
+
+  environment.systemPackages = with pkgs; [
+    cmst
+    connman-notify
+    connman_dmenu
+  ];
+}
A modules/network-manager.nix
@@ -0,0 +1,10 @@+{ config, pkgs, ... }:
+
+{ networking.networkmanager = {
+    enable = true;
+  };
+
+  environment.systemPackages = with pkgs; [
+    networkmanagerapplet
+  ];
+}
M satoshipad.nixsatoshipad.nix
@@ -28,6 +28,7 @@ ./modules/javascript.nix     ./modules/satoshipay.nix
     ./modules/accounting.nix
     ./modules/passwords.nix
+    ./modules/network-manager.nix
   ];
 
   networking.hostName = "satoshipad";