Use string-form mkEnableOption for all module options

This commit is contained in:
Joshua Yuen 2026-09-12 21:48:48 -04:00
parent 60fe16d168
commit 60b6b80fc3
Signed by: josh
GPG Key ID: 530DA0331EFE99F5
10 changed files with 10 additions and 40 deletions

View File

@ -5,10 +5,7 @@
with lib; with lib;
{ {
options.modules.dictation = { options.modules.dictation = {
enable = mkEnableOption { enable = mkEnableOption "hold-to-talk voice dictation (hold SUPER+T)";
default = false;
description = "Enable hold-to-talk voice dictation (hold SUPER+T)";
};
model = mkOption { model = mkOption {
type = types.enum [ type = types.enum [
"tiny.en" "tiny.en"

View File

@ -5,9 +5,6 @@
with lib; with lib;
{ {
options.modules.discord = { options.modules.discord = {
enable = mkEnableOption { enable = mkEnableOption "Discord";
default = false;
description = "Enable Discord";
};
}; };
} }

View File

@ -5,9 +5,6 @@
with lib; with lib;
{ {
options.modules.gnomeBoxes = { options.modules.gnomeBoxes = {
enable = mkEnableOption { enable = mkEnableOption "GNOME Boxes";
default = false;
description = "Enable GNOME Boxes";
};
}; };
} }

View File

@ -5,10 +5,7 @@
with lib; with lib;
{ {
options.modules.gpg = { options.modules.gpg = {
enable = mkEnableOption { enable = mkEnableOption "gpg-agent";
default = false;
description = "Enable gpg-agent";
};
signingKey = mkOption { signingKey = mkOption {
type = types.nullOr types.str; type = types.nullOr types.str;

View File

@ -5,10 +5,7 @@
with lib; with lib;
{ {
options.modules.hyprland = { options.modules.hyprland = {
enable = mkEnableOption { enable = mkEnableOption "Hyprland";
default = false;
description = "Enable Hyprland";
};
terminal = mkOption { terminal = mkOption {
type = types.enum [ type = types.enum [
"kitty" "kitty"

View File

@ -5,9 +5,6 @@
with lib; with lib;
{ {
options.modules.localsend = { options.modules.localsend = {
enable = mkEnableOption { enable = mkEnableOption "LocalSend";
default = false;
description = "Enable LocalSend";
};
}; };
} }

View File

@ -5,10 +5,7 @@
with lib; with lib;
{ {
options.modules.opencode = { options.modules.opencode = {
enable = mkEnableOption { enable = mkEnableOption "opencode";
default = false;
description = "Enable opencode";
};
notify = mkOption { notify = mkOption {
type = types.bool; type = types.bool;
default = true; default = true;

View File

@ -5,9 +5,6 @@
with lib; with lib;
{ {
options.modules.plasma = { options.modules.plasma = {
enable = mkEnableOption { enable = mkEnableOption "Plasma";
default = false;
description = "Enable Plasma";
};
}; };
} }

View File

@ -5,9 +5,6 @@
with lib; with lib;
{ {
options.modules.screenshot = { options.modules.screenshot = {
enable = mkEnableOption { enable = mkEnableOption "screenshot capture tool (SUPER+SHIFT+S)";
default = false;
description = "Enable screenshot capture tool (SUPER+SHIFT+S)";
};
}; };
} }

View File

@ -5,9 +5,6 @@
with lib; with lib;
{ {
options.modules.tailscale = { options.modules.tailscale = {
enable = mkEnableOption { enable = mkEnableOption "Tailscale";
default = false;
description = "Enable Tailscale";
};
}; };
} }