Use string-form mkEnableOption for all module options
This commit is contained in:
parent
60fe16d168
commit
60b6b80fc3
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@
|
|||
with lib;
|
||||
{
|
||||
options.modules.discord = {
|
||||
enable = mkEnableOption {
|
||||
default = false;
|
||||
description = "Enable Discord";
|
||||
};
|
||||
enable = mkEnableOption "Discord";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@
|
|||
with lib;
|
||||
{
|
||||
options.modules.gnomeBoxes = {
|
||||
enable = mkEnableOption {
|
||||
default = false;
|
||||
description = "Enable GNOME Boxes";
|
||||
};
|
||||
enable = mkEnableOption "GNOME Boxes";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@
|
|||
with lib;
|
||||
{
|
||||
options.modules.localsend = {
|
||||
enable = mkEnableOption {
|
||||
default = false;
|
||||
description = "Enable LocalSend";
|
||||
};
|
||||
enable = mkEnableOption "LocalSend";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@
|
|||
with lib;
|
||||
{
|
||||
options.modules.plasma = {
|
||||
enable = mkEnableOption {
|
||||
default = false;
|
||||
description = "Enable Plasma";
|
||||
};
|
||||
enable = mkEnableOption "Plasma";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@
|
|||
with lib;
|
||||
{
|
||||
options.modules.tailscale = {
|
||||
enable = mkEnableOption {
|
||||
default = false;
|
||||
description = "Enable Tailscale";
|
||||
};
|
||||
enable = mkEnableOption "Tailscale";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue