This directory contains my wezterm
configuration as a Nix Flake.
Install nix
:
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
If you want to try it out, run the Flake:
nix run "github:heywoodlh/flakes/main?dir=wezterm"
If you want to install it, install it to your Nix profile:
nix profile install "github:heywoodlh/flakes/main?dir=wezterm"
On a non-NixOS Linux distribution, use the NixGL implementation:
nix profile install "github:heywoodlh/flakes/main?dir=wezterm-gl" --impure
If you want to use it in a Flake, do something like this:
{
description = "my flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
wezterm-configs.url = "github:heywoodlh/flakes/main?dir=wezterm";
};
outputs = inputs@{ self, nixpkgs, wezterm-configs }: {
nixosConfigurations = {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
{
environment.systemPackages = [
wezterm-configs.defaultPackage.${system}
];
}
];
};
};