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;
{
options.modules.dictation = {
enable = mkEnableOption {
default = false;
description = "Enable hold-to-talk voice dictation (hold SUPER+T)";
};
enable = mkEnableOption "hold-to-talk voice dictation (hold SUPER+T)";
model = mkOption {
type = types.enum [
"tiny.en"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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