mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Fixed networkmanager_dmenu abstraction
This commit is contained in:
parent
54f1c7092c
commit
262554bc3a
|
@ -1,7 +1,7 @@
|
|||
{ 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 = ''
|
||||
[dmenu]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
|||
../../lang/haskell/haskell.nix
|
||||
../../app/terminal/alacritty.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; [
|
||||
|
|
|
@ -779,7 +779,7 @@ while true
|
|||
* 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]].
|
||||
#+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
|
||||
../../app/terminal/alacritty.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; [
|
||||
|
|
Loading…
Reference in a new issue