fix: apply wezterm overlay

This commit is contained in:
punkfairie 2025-06-04 18:43:43 -07:00
parent c01fd267c9
commit 98001cabd0
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
3 changed files with 4 additions and 6 deletions

View file

@ -12,11 +12,6 @@
config = {
allowUnfree = true;
};
# TODO: Move these to custom modules
overlays = [
(import ./overlays/wezterm.nix {inherit inputs;})
];
};
};
}

View file

@ -3,6 +3,7 @@
config,
osConfig,
lib,
inputs,
pkgs,
...
}: let
@ -14,6 +15,8 @@ in {
options.marleyos.programs.wezterm.enable = mkEnableOption' "wezterm" osCfg;
config = lib.mkIf cfg.enable {
nixpkgs.overlays = [(import ../../../overlays/wezterm.nix {inherit inputs;})];
programs.wezterm = {
enable = true;
package = lib.mkIf pkgs.stdenv.isDarwin pkgs.emptyDirectory;

View file

@ -1,3 +1,3 @@
{inputs}: prev: {
{inputs}: _: prev: {
wezterm = inputs.wezterm.packages."${prev.system}".default;
}