dotfiles/modules/apps/rofi/default.nix

20 lines
440 B
Nix

{ config, lib, pkgs, ... }:
{
home-manager.users.moritz = {
programs.rofi = {
enable = true;
package = pkgs.rofi.override { plugins = with pkgs; [ rofi-calc ]; };
theme = ./dracula.rasi;
};
home.packages = with pkgs; [ networkmanager_dmenu ];
xdg = {
enable = true;
configFile."networkmanager-dmenu/config.ini".text = ''
[dmenu]
dmenu_command = rofi
'';
};
};
}