Skip to content

Commit

Permalink
feat(wezterm): Switch to wezterm nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Jul 31, 2024
1 parent c5067f4 commit 94d7a6a
Show file tree
Hide file tree
Showing 3 changed files with 161 additions and 2 deletions.
153 changes: 152 additions & 1 deletion flake.lock

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

4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
catppuccin.url = "github:catppuccin/nix";
tokyonight.url = "github:mrjones2014/tokyonight.nix";
wezterm-nightly = {
url = "github:wez/wezterm?dir=nix";
inputs.nixpkgs.follows = "nixpkgs";
};
neovim-nightly-overlay = {
url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down
6 changes: 5 additions & 1 deletion home-manager/modules/wezterm.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, inputs, isLinux, ... }:
let fish_path_lua_str = "'${pkgs.fish}/bin/fish'";
in {
home = {
Expand All @@ -7,6 +7,10 @@ in {
};
programs.wezterm = {
enable = true;
package = if isLinux then
inputs.wezterm-nightly.packages.x86_64-linux.default
else
inputs.wezterm-nightly.packages.aarch64-darwin.default;
extraConfig = ''
local wezterm = require('wezterm')
local config = wezterm.config_builder()
Expand Down

0 comments on commit 94d7a6a

Please sign in to comment.