Fixed networkmanager_dmenu abstraction

This commit is contained in:
Emmet 2023-08-13 17:04:03 -05:00
parent 54f1c7092c
commit 262554bc3a
3 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, dmenu_command ? "rofi -show dmenu", ... }: { config, lib, pkgs, dmenu_command ? "rofi -show dmenu", ... }:
{ {
home.packages = [ pkgs.networkmanager_dmenu ]; home.packages = with pkgs; [ networkmanager_dmenu networkmanagerapplet ];
home.file.".config/networkmanager-dmenu/config.ini".text = '' home.file.".config/networkmanager-dmenu/config.ini".text = ''
[dmenu] [dmenu]

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
@ -6,7 +6,7 @@
../../lang/haskell/haskell.nix ../../lang/haskell/haskell.nix
../../app/terminal/alacritty.nix ../../app/terminal/alacritty.nix
../../app/terminal/kitty.nix ../../app/terminal/kitty.nix
../../app/dmenu-scripts/networkmanager-dmenu.nix ( import ../../app/dmenu-scripts/networkmanager-dmenu.nix {dmenu_command = "rofi -show dmenu"; inherit config lib pkgs;})
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [

View file

@ -779,7 +779,7 @@ while true
* Nix Integration * Nix Integration
In order to have Nix put my xmonad/xmobar configuration in the proper places, I have [[./xmonad.nix][xmonad.nix]], which I source in the =imports= block of my [[../../home.nix][home.nix]]. In order to have Nix put my xmonad/xmobar configuration in the proper places, I have [[./xmonad.nix][xmonad.nix]], which I source in the =imports= block of my [[../../home.nix][home.nix]].
#+BEGIN_SRC nix :tangle xmonad.nix #+BEGIN_SRC nix :tangle xmonad.nix
{ config, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
@ -787,7 +787,7 @@ In order to have Nix put my xmonad/xmobar configuration in the proper places, I
../../lang/haskell/haskell.nix ../../lang/haskell/haskell.nix
../../app/terminal/alacritty.nix ../../app/terminal/alacritty.nix
../../app/terminal/kitty.nix ../../app/terminal/kitty.nix
../../app/dmenu-scripts/networkmanager-dmenu.nix ( import ../../app/dmenu-scripts/networkmanager-dmenu.nix {dmenu_command = "rofi -show dmenu"; inherit config lib pkgs;})
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [