diff --git a/modules/home/programs/wezterm/default.nix b/modules/home/programs/wezterm/default.nix index 392f8a2..d68279d 100644 --- a/modules/home/programs/wezterm/default.nix +++ b/modules/home/programs/wezterm/default.nix @@ -26,8 +26,7 @@ in { package = if isNotNixOS then pkgs.emptyDirectory - # TODO: make this an overlay. - else inputs.wezterm.packages."${pkgs.system}".default; + else pkgs.wezterm; # TODO: create `local config` & return it seperately, so other modules can # insert config in the middle diff --git a/modules/home/wayland/hyprland/default.nix b/modules/home/wayland/hyprland/default.nix index 88023b8..18eef03 100644 --- a/modules/home/wayland/hyprland/default.nix +++ b/modules/home/wayland/hyprland/default.nix @@ -2,7 +2,6 @@ lib, config, inputs, - system, pkgs, ... }: let @@ -99,9 +98,8 @@ in { in { monitor = lib.attrValues cfg.monitors; - # TODO: Use overlay once it's made. # TODO: Set this in a default apps module. - "$terminal" = lib.getExe inputs.wezterm.packages."${system}".default; + "$terminal" = lib.getExe pkgs.wezterm; "$launcher" = "${lib.getExe pkgs.wofi} --show drun"; # TODO: Set this in a default apps module. "$browser" = "${lib.getExe pkgs.floorp}"; diff --git a/overlays/wezterm/default.nix b/overlays/wezterm/default.nix new file mode 100644 index 0000000..ebea314 --- /dev/null +++ b/overlays/wezterm/default.nix @@ -0,0 +1,3 @@ +{inputs, ...}: final: prev: { + wezterm = inputs.wezterm.packages."${prev.system}".default; +}