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
|
@ -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 ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue