feat: Move wezterm-git input to overlay

So I don't have to reference the input directly.
This commit is contained in:
punkfairie 2025-01-11 21:15:24 -08:00
parent 8254443cdd
commit 9611891b5e
No known key found for this signature in database
GPG key ID: B3C5488E9A1A7CA6
3 changed files with 5 additions and 6 deletions

View file

@ -3,7 +3,6 @@
config, config,
system, system,
pkgs, pkgs,
inputs,
... ...
}: let }: let
inherit (lib) mkEnableOption mkIf; inherit (lib) mkEnableOption mkIf;
@ -26,8 +25,7 @@ in {
package = package =
if isNotNixOS if isNotNixOS
then pkgs.emptyDirectory then pkgs.emptyDirectory
# TODO: make this an overlay. else pkgs.wezterm;
else inputs.wezterm.packages."${pkgs.system}".default;
# TODO: create `local config` & return it seperately, so other modules can # TODO: create `local config` & return it seperately, so other modules can
# insert config in the middle # insert config in the middle

View file

@ -2,7 +2,6 @@
lib, lib,
config, config,
inputs, inputs,
system,
pkgs, pkgs,
... ...
}: let }: let
@ -99,9 +98,8 @@ in {
in { in {
monitor = lib.attrValues cfg.monitors; monitor = lib.attrValues cfg.monitors;
# TODO: Use overlay once it's made.
# TODO: Set this in a default apps module. # 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"; "$launcher" = "${lib.getExe pkgs.wofi} --show drun";
# TODO: Set this in a default apps module. # TODO: Set this in a default apps module.
"$browser" = "${lib.getExe pkgs.floorp}"; "$browser" = "${lib.getExe pkgs.floorp}";

View file

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