diff options
author | Adrian Kummerlaender | 2019-01-24 19:09:10 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2019-01-24 19:09:10 +0100 |
commit | 906f3178a8776c0c1afa24a77e77365ded9a5b05 (patch) | |
tree | efafe4c43e30b0d9a1e94cb638d32486bae4cb13 | |
parent | a8b399b3941f2df6e357372c4c36ab931e407081 (diff) | |
download | nixos_home-906f3178a8776c0c1afa24a77e77365ded9a5b05.tar nixos_home-906f3178a8776c0c1afa24a77e77365ded9a5b05.tar.gz nixos_home-906f3178a8776c0c1afa24a77e77365ded9a5b05.tar.bz2 nixos_home-906f3178a8776c0c1afa24a77e77365ded9a5b05.tar.lz nixos_home-906f3178a8776c0c1afa24a77e77365ded9a5b05.tar.xz nixos_home-906f3178a8776c0c1afa24a77e77365ded9a5b05.tar.zst nixos_home-906f3178a8776c0c1afa24a77e77365ded9a5b05.zip |
Add networkmanager_dmenu config
-rw-r--r-- | gui/networkmanager-dmenu.nix | 13 | ||||
-rw-r--r-- | host/asterix.nix | 8 | ||||
-rw-r--r-- | host/athena.nix | 2 |
3 files changed, 17 insertions, 6 deletions
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 ]; |