fix: apply wezterm overlay
This commit is contained in:
parent
c01fd267c9
commit
98001cabd0
3 changed files with 4 additions and 6 deletions
|
@ -12,11 +12,6 @@
|
|||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
|
||||
# TODO: Move these to custom modules
|
||||
overlays = [
|
||||
(import ./overlays/wezterm.nix {inherit inputs;})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
{inputs}: prev: {
|
||||
{inputs}: _: prev: {
|
||||
wezterm = inputs.wezterm.packages."${prev.system}".default;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue