aboutsummaryrefslogtreecommitdiff
path: root/modules/wezterm.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/wezterm.nix')
-rw-r--r--modules/wezterm.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/wezterm.nix b/modules/wezterm.nix
index c9e52ae..ca19e1a 100644
--- a/modules/wezterm.nix
+++ b/modules/wezterm.nix
@@ -1,10 +1,8 @@
{ config, lib, pkgs, ... }:
-let
- cfg = config.wezterm;
-in {
+{
options.wezterm.enable = lib.mkEnableOption "Enable wezterm and setup";
- config = lib.mkIf cfg.enable {
+ config = lib.mkIf config.wezterm.enable {
home.packages = with pkgs; [
(nerdfonts.override { fonts = [ "SpaceMono" "IBMPlexMono" "Terminus" ]; })
];