reo101
e86d916ae8
Extract `river` configuration into a `home-manager` module Fix `xkb` configuration Unpin `neovim-nightly-overlay`: - https://github.com/nix-community/neovim-nightly-overlay/pull/166 - https://github.com/nix-community/neovim-nightly-overlay/pull/167
47 lines
861 B
Nix
47 lines
861 B
Nix
{ lib, pkgs, config, ... }:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.reo101.wezterm;
|
|
in
|
|
{
|
|
imports =
|
|
[
|
|
];
|
|
|
|
options =
|
|
{
|
|
reo101.wezterm = {
|
|
enable = mkEnableOption "reo101 wezterm setup";
|
|
extraConfig = mkOption {
|
|
type = types.str;
|
|
description = "Extra zsh config";
|
|
default = ''
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
|
|
config =
|
|
mkIf cfg.enable {
|
|
home.packages = with pkgs;
|
|
builtins.concatLists [
|
|
[
|
|
wezterm
|
|
(nerdfonts.override { fonts = [ "FiraCode" ]; })
|
|
]
|
|
];
|
|
|
|
programs.wezterm = {
|
|
enable = true;
|
|
extraConfig = builtins.concatStringsSep "\n" [
|
|
(builtins.readFile ./wezterm.lua)
|
|
cfg.extraConfig
|
|
];
|
|
};
|
|
};
|
|
|
|
meta = {
|
|
maintainers = with lib.maintainers; [ reo101 ];
|
|
};
|
|
}
|