diff options
author | Alan Pearce | 2017-09-09 16:25:32 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-09 16:49:30 +0200 |
commit | 0cef6aa80ff7d52afe80b7086cc3452bf020722a (patch) | |
tree | 804bfc742db28e332cc7628730fb84baee83a690 /modules | |
parent | 12be12c3130dfcb9190afe35a462e4ba2c850a31 (diff) | |
download | nixos-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.nix | 12 | ||||
-rw-r--r-- | modules/network-manager.nix | 10 |
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 + ]; +} |