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

24 lines
511 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;
[
(lib.mkIf config.networking.networkmanager.enable networkmanager_dmenu)
];
xdg = {
enable = true;
configFile."networkmanager-dmenu/config.ini".text = ''
[dmenu]
dmenu_command = rofi
'';
};
};
}