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