dotfiles/modules/desktop/apps/rofi/default.nix

25 lines
559 B
Nix
Raw Normal View History

2021-09-10 11:16:49 +02:00
{ config, lib, pkgs, ... }:
2021-11-11 18:34:54 +01:00
{
home-manager.users.moritz = {
2021-09-10 11:16:49 +02:00
programs.rofi = {
enable = true;
2022-03-30 21:52:00 +02:00
package =
pkgs.rofi.override { plugins = with pkgs; [ rofi-calc rofi-emoji ]; };
extraConfig = { combi-modi = "drun,window,emoji"; };
2021-09-10 11:16:49 +02:00
};
home.packages = with pkgs;
[
(lib.mkIf config.networking.networkmanager.enable networkmanager_dmenu)
];
2021-09-29 13:34:38 +02:00
xdg = {
enable = true;
configFile."networkmanager-dmenu/config.ini".text = ''
[dmenu]
dmenu_command = rofi
'';
};
2021-11-11 18:34:54 +01:00
};
}