update cross-module package references, nuke execOnStart

This commit is contained in:
Reid 2024-12-14 16:40:14 -08:00
parent 6d61976106
commit ff647de9ce
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
13 changed files with 135 additions and 73 deletions

View file

@ -6,12 +6,18 @@ let
in {
options.modules.desktop.rofi = {
enable = mkEnableOption "Enable rofi, a window switcher, run dialog and dmenu replacement";
package = mkOption {
type = types.package;
default = pkgs.rofi-wayland-unwrapped;
example = "pkgs.rofi";
};
};
config = mkIf cfg.enable {
hm.programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
package = cfg.package;
font = with config.modules.desktop.fonts.fonts.monospace; "${family} ${toString size}px";
extraConfig = {
show-icons = true;