23 lines
511 B
Nix
23 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
|
|
'';
|
|
};
|
|
};
|
|
}
|