From 906f3178a8776c0c1afa24a77e77365ded9a5b05 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Thu, 24 Jan 2019 19:09:10 +0100 Subject: Add networkmanager_dmenu config --- gui/networkmanager-dmenu.nix | 13 +++++++++++++ host/asterix.nix | 8 +++----- host/athena.nix | 2 +- 3 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 gui/networkmanager-dmenu.nix diff --git a/gui/networkmanager-dmenu.nix b/gui/networkmanager-dmenu.nix new file mode 100644 index 0000000..519125d --- /dev/null +++ b/gui/networkmanager-dmenu.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: + +{ + home.packages = [ pkgs.networkmanager_dmenu ]; + + home.file.".config/networkmanager-dmenu/condig.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 1594c6f..419f91d 100644 --- a/host/asterix.nix +++ b/host/asterix.nix @@ -4,12 +4,10 @@ imports = [ ../gui/default.nix ../gui/autorandr.nix + ../gui/networkmanager-dmenu.nix ]; - home.packages = let - mypkgs = import (fetchTarball "https://pkgs.kummerlaender.eu/nixexprs.tar.gz") { }; - in [ - pkgs.networkmanager_dmenu - pkgs.acpi + home.packages = with pkgs; [ + acpi ]; } diff --git a/host/athena.nix b/host/athena.nix index 6ebe90d..d17e618 100644 --- a/host/athena.nix +++ b/host/athena.nix @@ -3,10 +3,10 @@ { imports = [ ../gui/default.nix + ../gui/networkmanager-dmenu.nix ]; home.packages = with pkgs; [ - networkmanager_dmenu acpi xorg.xbacklight ]; -- cgit v1.2.3