From 60fe16d168845d0c0fe0bbc7a8376dfe8a3889bc Mon Sep 17 00:00:00 2001 From: Joshua Yuen Date: Sat, 12 Sep 2026 21:44:50 -0400 Subject: [PATCH] Use mkOption for enabled-by-default module options --- modules/options/pipewire.nix | 3 ++- modules/options/zsh.nix | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/options/pipewire.nix b/modules/options/pipewire.nix index cc90e9b..c79fb0f 100644 --- a/modules/options/pipewire.nix +++ b/modules/options/pipewire.nix @@ -5,7 +5,8 @@ with lib; { options.modules.pipewire = { - enable = mkEnableOption { + enable = mkOption { + type = types.bool; default = true; description = "Enable PipeWire"; }; diff --git a/modules/options/zsh.nix b/modules/options/zsh.nix index 26a6a1d..b3e4ba4 100644 --- a/modules/options/zsh.nix +++ b/modules/options/zsh.nix @@ -5,9 +5,10 @@ with lib; { options.modules.zsh = { - enable = mkEnableOption { - description = "Install Zsh"; + enable = mkOption { + type = types.bool; default = true; + description = "Install Zsh"; }; }; }