all repos — nixfiles @ 9474958fef3223bb634407fcf6f29c82da10b530

System and user configuration, managed by nix and home-manager

rofi: create dmenu alias

Alan Pearce
commit

9474958fef3223bb634407fcf6f29c82da10b530

parent

5ea6d4b05a706229fb31df654ec80eb999382aa3

1 file changed, 11 insertions(+), 1 deletion(-)

jump to
M user/settings/rofi.nixuser/settings/rofi.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: { xdg.configFile."networkmanager-dmenu/config.ini".text = ''
@@ -9,6 +9,16 @@ [editor]
terminal = xst gui_if_available = false ''; + + nixpkgs.overlays = [ + (self: super: { + rofi= super.rofi.overrideAttrs (oldAttrs: rec { + postInstall = '' + ln $out/bin/rofi $out/bin/dmenu + ''; + }); + }) + ]; programs.rofi = { enable = true; extraConfig = ''