diff options
author | Alan Pearce | 2019-10-21 14:01:31 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-21 14:03:05 +0200 |
commit | 9474958fef3223bb634407fcf6f29c82da10b530 (patch) | |
tree | 25bb496f023baff05c76e3ce9a4f5c8ce246fe61 /user | |
parent | 5ea6d4b05a706229fb31df654ec80eb999382aa3 (diff) | |
download | nixfiles-9474958fef3223bb634407fcf6f29c82da10b530.tar.lz nixfiles-9474958fef3223bb634407fcf6f29c82da10b530.tar.zst nixfiles-9474958fef3223bb634407fcf6f29c82da10b530.zip |
rofi: create dmenu alias
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/rofi.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/user/settings/rofi.nix b/user/settings/rofi.nix index b34af881..4e230866 100644 --- a/user/settings/rofi.nix +++ b/user/settings/rofi.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: { xdg.configFile."networkmanager-dmenu/config.ini".text = '' @@ -9,6 +9,16 @@ 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 = '' |