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

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, pkgs, ... }:
with lib;
let
@ -6,6 +6,10 @@ let
in {
options.modules.software.system.wezterm = {
enable = mkEnableOption "Enable wezterm, a blazingly fast terminal emulator";
package = mkOption {
type = types.package;
default = pkgs.wezterm;
};
};
config = mkIf cfg.enable {
@ -13,6 +17,8 @@ in {
hm.programs.wezterm = {
enable = true;
package = cfg.package;
extraConfig = let
fonts = config.modules.desktop.fonts.fonts;
in ''