From 2b0456b7cd9a8b2f398a44cb0db1ded9e722168d Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 24 Jan 2019 19:21:46 +0100 Subject: Add networkmanager UI --- gui/networkmanager-dmenu.nix | 13 ------------- gui/networkmanager.nix | 16 ++++++++++++++++ host/asterix.nix | 2 +- host/athena.nix | 2 +- 4 files changed, 18 insertions(+), 15 deletions(-) delete mode 100644 gui/networkmanager-dmenu.nix create mode 100644 gui/networkmanager.nix diff --git a/gui/networkmanager-dmenu.nix b/gui/networkmanager-dmenu.nix deleted file mode 100644 index eab723c..0000000 --- a/gui/networkmanager-dmenu.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ pkgs, ... }: - -{ - home.packages = [ pkgs.networkmanager_dmenu ]; - - home.file.".config/networkmanager-dmenu/config.ini".text = '' - [dmenu] - dmenu_command = rofi - rofi_highlight = True - [editor] - gui_if_available = True - ''; -} diff --git a/gui/networkmanager.nix b/gui/networkmanager.nix new file mode 100644 index 0000000..daf3977 --- /dev/null +++ b/gui/networkmanager.nix @@ -0,0 +1,16 @@ +{ pkgs, ... }: + +{ + home.packages = with pkgs; [ + networkmanager_dmenu + networkmanagerapplet + ]; + + home.file.".config/networkmanager-dmenu/config.ini".text = '' + [dmenu] + dmenu_command = rofi + rofi_highlight = True + [editor] + gui_if_available = True + ''; +} diff --git a/host/asterix.nix b/host/asterix.nix index 419f91d..ea19353 100644 --- a/host/asterix.nix +++ b/host/asterix.nix @@ -4,7 +4,7 @@ imports = [ ../gui/default.nix ../gui/autorandr.nix - ../gui/networkmanager-dmenu.nix + ../gui/networkmanager.nix ]; home.packages = with pkgs; [ diff --git a/host/athena.nix b/host/athena.nix index d17e618..3ed37ab 100644 --- a/host/athena.nix +++ b/host/athena.nix @@ -3,7 +3,7 @@ { imports = [ ../gui/default.nix - ../gui/networkmanager-dmenu.nix + ../gui/networkmanager.nix ]; home.packages = with pkgs; [ -- cgit v1.2.3