Skip to content

Commit

Permalink
wezterm: use flake cuz NixOS/nixpkgs#336069
Browse files Browse the repository at this point in the history
  • Loading branch information
KiaraGrouwstra committed Aug 31, 2024
1 parent ebafcc0 commit 6b285e2
Show file tree
Hide file tree
Showing 6 changed files with 167 additions and 3 deletions.
152 changes: 152 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@
url = "github:gilcu3/hullcaster";
inputs.nixpkgs.follows = "nixpkgs";
};
# https://github.com/NixOS/nixpkgs/issues/336069
wezterm = {
url = "github:wez/wezterm/main?dir=nix";
inputs.nixpkgs.follows = "nixpkgs";
};
};

outputs = {
Expand Down
3 changes: 2 additions & 1 deletion home-manager/kiara/commands.nix
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ let
})
);
commands = let
inherit (pkgs) wezterm rofi-systemd;
inherit (pkgs) rofi-systemd;
wezterm = config.programs.wezterm.package;
in
lib.dryCommands binaries
//
Expand Down
1 change: 0 additions & 1 deletion home-manager/kiara/features/tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
## terminals

kitty
wezterm
## command-line utilities

xdg-terminal-exec
Expand Down
8 changes: 7 additions & 1 deletion home-manager/kiara/wezterm.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
{config, ...}: {
{
config,
inputs,
system,
...
}: {
home.persistence."/persist/home/kiara".directories = [
".config/wezterm"
];
programs.wezterm = {
enable = true;
package = inputs.wezterm.packages.${system}.default;
extraConfig = let
inherit (config.keyboard.vi) j k;
in
Expand Down
1 change: 1 addition & 0 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"nix-search"
"noshell"
# "hullcaster" # https://codeberg.org/kiara/cfg/issues/361
"wezterm"
]
//
(let
Expand Down

0 comments on commit 6b285e2

Please sign in to comment.