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
9611891b5e
3 changed files with 5 additions and 6 deletions
|
@ -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
|
||||||
|
|
|
@ -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}";
|
||||||
|
|
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