update cross-module package references, nuke execOnStart
This commit is contained in:
parent
6d61976106
commit
ff647de9ce
13 changed files with 135 additions and 73 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue