feat: Move wezterm-git input to overlay
So I don't have to reference the input directly.
This commit is contained in:
parent
8254443cdd
commit
2220d73688
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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}";
|
||||
|
|
3
overlays/wezterm/default.nix
Normal file
3
overlays/wezterm/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{inputs, ...}: final: prev: {
|
||||
wezterm = inputs.wezterm.packages."${prev.system}".default;
|
||||
}
|
Loading…
Reference in a new issue