treewide: replace mkPackageOptionMD
with mkPackageOption
This commit is contained in:
parent
9b11307f42
commit
79d3d59f58
128 changed files with 155 additions and 155 deletions
|
@ -27,7 +27,7 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
package = mkPackageOptionMD pkgs "1Password GUI" {
|
||||
package = mkPackageOption pkgs "1Password GUI" {
|
||||
default = [ "_1password-gui" ];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -18,7 +18,7 @@ in
|
|||
programs._1password = {
|
||||
enable = mkEnableOption (lib.mdDoc "the 1Password CLI tool");
|
||||
|
||||
package = mkPackageOptionMD pkgs "1Password CLI" {
|
||||
package = mkPackageOption pkgs "1Password CLI" {
|
||||
default = [ "_1password" ];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -6,7 +6,7 @@ in {
|
|||
options = {
|
||||
programs.darling = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "Darling, a Darwin/macOS compatibility layer for Linux");
|
||||
package = lib.mkPackageOptionMD pkgs "darling" {};
|
||||
package = lib.mkPackageOption pkgs "darling" {};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ in {
|
|||
integration. Note that you need to logout and login for this change to apply
|
||||
'');
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "direnv" {};
|
||||
package = lib.mkPackageOption pkgs "direnv" {};
|
||||
|
||||
direnvrcExtra = lib.mkOption {
|
||||
type = lib.types.lines;
|
||||
|
@ -49,7 +49,7 @@ in {
|
|||
default = true;
|
||||
};
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "nix-direnv" {};
|
||||
package = lib.mkPackageOption pkgs "nix-direnv" {};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ in
|
|||
group.
|
||||
'';
|
||||
};
|
||||
package = mkPackageOptionMD pkgs "flashrom" { };
|
||||
package = mkPackageOption pkgs "flashrom" { };
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
|
|
@ -23,7 +23,7 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
package = mkPackageOptionMD pkgs "hyprland" { };
|
||||
package = mkPackageOption pkgs "hyprland" { };
|
||||
|
||||
finalPackage = mkOption {
|
||||
type = types.package;
|
||||
|
@ -39,7 +39,7 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
portalPackage = mkPackageOptionMD pkgs "xdg-desktop-portal-hyprland" { };
|
||||
portalPackage = mkPackageOption pkgs "xdg-desktop-portal-hyprland" { };
|
||||
|
||||
xwayland.enable = mkEnableOption (mdDoc "XWayland") // { default = true; };
|
||||
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
let
|
||||
cfg = config.programs.iay;
|
||||
inherit (lib) mkEnableOption mkIf mkOption mkPackageOptionMD optionalString types;
|
||||
inherit (lib) mkEnableOption mkIf mkOption mkPackageOption optionalString types;
|
||||
in {
|
||||
options.programs.iay = {
|
||||
enable = mkEnableOption (lib.mdDoc "iay");
|
||||
package = mkPackageOptionMD pkgs "iay" {};
|
||||
package = mkPackageOption pkgs "iay" {};
|
||||
|
||||
minimalPrompt = mkOption {
|
||||
type = types.bool;
|
||||
|
|
|
@ -13,7 +13,7 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "minipro" { };
|
||||
package = lib.mkPackageOption pkgs "minipro" { };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ in
|
|||
default = true;
|
||||
};
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "nano" { };
|
||||
package = lib.mkPackageOption pkgs "nano" { };
|
||||
|
||||
nanorc = lib.mkOption {
|
||||
type = lib.types.lines;
|
||||
|
|
|
@ -8,7 +8,7 @@ in
|
|||
options = {
|
||||
programs.nexttrace = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "Nexttrace to the global environment and configure a setcap wrapper for it");
|
||||
package = lib.mkPackageOptionMD pkgs "nexttrace" { };
|
||||
package = lib.mkPackageOption pkgs "nexttrace" { };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ in
|
|||
meta.maintainers = [ lib.maintainers.mic92 ];
|
||||
options.programs.nix-ld = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc ''nix-ld, Documentation: <https://github.com/Mic92/nix-ld>'');
|
||||
package = lib.mkPackageOptionMD pkgs "nix-ld" { };
|
||||
package = lib.mkPackageOption pkgs "nix-ld" { };
|
||||
libraries = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.package;
|
||||
description = lib.mdDoc "Libraries that automatically become available to all programs. The default set includes common libraries.";
|
||||
|
|
|
@ -6,7 +6,7 @@ in
|
|||
{
|
||||
options.programs.projecteur = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "projecteur");
|
||||
package = lib.mkPackageOptionMD pkgs "projecteur" { };
|
||||
package = lib.mkPackageOption pkgs "projecteur" { };
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
@ -13,7 +13,7 @@ in {
|
|||
options = {
|
||||
programs.qdmr = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "QDMR - a GUI application and command line tool for programming DMR radios");
|
||||
package = lib.mkPackageOptionMD pkgs "qdmr" { };
|
||||
package = lib.mkPackageOption pkgs "qdmr" { };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs [ "greetd" "regreet" ] { };
|
||||
package = lib.mkPackageOption pkgs [ "greetd" "regreet" ] { };
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = lib.types.either lib.types.path settingsFormat.type;
|
||||
|
|
|
@ -7,7 +7,7 @@ in
|
|||
{
|
||||
options = with types; {
|
||||
security.loginDefs = {
|
||||
package = mkPackageOptionMD pkgs "shadow" { };
|
||||
package = mkPackageOption pkgs "shadow" { };
|
||||
|
||||
chfnRestrict = mkOption {
|
||||
description = mdDoc ''
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
let
|
||||
inherit (lib) mdDoc mkEnableOption mkPackageOptionMD optional optionalString;
|
||||
inherit (lib) mdDoc mkEnableOption mkPackageOption optional optionalString;
|
||||
cfg = config.programs.skim;
|
||||
in
|
||||
{
|
||||
|
@ -8,7 +8,7 @@ in
|
|||
programs.skim = {
|
||||
fuzzyCompletion = mkEnableOption (mdDoc "fuzzy completion with skim");
|
||||
keybindings = mkEnableOption (mdDoc "skim keybindings");
|
||||
package = mkPackageOptionMD pkgs "skim" {};
|
||||
package = mkPackageOption pkgs "skim" {};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ in
|
|||
description = lib.mdDoc "Whether streamdeck-ui should be started automatically.";
|
||||
};
|
||||
|
||||
package = mkPackageOptionMD pkgs "streamdeck-ui" {
|
||||
package = mkPackageOption pkgs "streamdeck-ui" {
|
||||
default = [ "streamdeck-ui" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ in
|
|||
options.programs.cardboard = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "cardboard");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "cardboard" { };
|
||||
package = lib.mkPackageOption pkgs "cardboard" { };
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable (lib.mkMerge [
|
||||
|
|
|
@ -8,7 +8,7 @@ in
|
|||
{
|
||||
options.programs.waybar = {
|
||||
enable = mkEnableOption (lib.mdDoc "waybar");
|
||||
package = mkPackageOptionMD pkgs "waybar" { };
|
||||
package = mkPackageOption pkgs "waybar" { };
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
|
|
@ -8,7 +8,7 @@ in
|
|||
options.programs.wayfire = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "Wayfire, a wayland compositor based on wlroots");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "wayfire" { };
|
||||
package = lib.mkPackageOption pkgs "wayfire" { };
|
||||
|
||||
plugins = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.package;
|
||||
|
|
|
@ -11,7 +11,7 @@ in
|
|||
options.programs.yazi = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "yazi terminal file manager");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "yazi" { };
|
||||
package = lib.mkPackageOption pkgs "yazi" { };
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = with lib.types; submodule {
|
||||
|
|
|
@ -41,7 +41,7 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
package = mkPackageOptionMD pkgs "gmediarender" {
|
||||
package = mkPackageOption pkgs "gmediarender" {
|
||||
default = "gmrender-resurrect";
|
||||
};
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ with lib;
|
|||
Whether to enable goxlr-utility for controlling your TC-Helicon GoXLR or GoXLR Mini
|
||||
'';
|
||||
};
|
||||
package = mkPackageOptionMD pkgs "goxlr-utility" { };
|
||||
package = mkPackageOption pkgs "goxlr-utility" { };
|
||||
autoStart.xdg = mkOption {
|
||||
default = true;
|
||||
type = with types; bool;
|
||||
|
|
|
@ -11,7 +11,7 @@ in {
|
|||
|
||||
enable = mkEnableOption (lib.mdDoc "Navidrome music server");
|
||||
|
||||
package = mkPackageOptionMD pkgs "navidrome" { };
|
||||
package = mkPackageOption pkgs "navidrome" { };
|
||||
|
||||
settings = mkOption rec {
|
||||
type = settingsFormat.type;
|
||||
|
|
|
@ -12,7 +12,7 @@ let
|
|||
mkOption
|
||||
mdDoc
|
||||
mkEnableOption
|
||||
mkPackageOptionMD
|
||||
mkPackageOption
|
||||
types
|
||||
;
|
||||
|
||||
|
@ -24,7 +24,7 @@ in
|
|||
|
||||
{
|
||||
options.services.wyoming.faster-whisper = with types; {
|
||||
package = mkPackageOptionMD pkgs "wyoming-faster-whisper" { };
|
||||
package = mkPackageOption pkgs "wyoming-faster-whisper" { };
|
||||
|
||||
servers = mkOption {
|
||||
default = {};
|
||||
|
|
|
@ -15,7 +15,7 @@ let
|
|||
mdDoc
|
||||
mkEnableOption
|
||||
mkIf
|
||||
mkPackageOptionMD
|
||||
mkPackageOption
|
||||
mkRemovedOptionModule
|
||||
types
|
||||
;
|
||||
|
@ -36,7 +36,7 @@ in
|
|||
options.services.wyoming.openwakeword = with types; {
|
||||
enable = mkEnableOption (mdDoc "Wyoming openWakeWord server");
|
||||
|
||||
package = mkPackageOptionMD pkgs "wyoming-openwakeword" { };
|
||||
package = mkPackageOption pkgs "wyoming-openwakeword" { };
|
||||
|
||||
uri = mkOption {
|
||||
type = strMatching "^(tcp|unix)://.*$";
|
||||
|
|
|
@ -12,7 +12,7 @@ let
|
|||
mkOption
|
||||
mdDoc
|
||||
mkEnableOption
|
||||
mkPackageOptionMD
|
||||
mkPackageOption
|
||||
types
|
||||
;
|
||||
|
||||
|
@ -26,7 +26,7 @@ in
|
|||
meta.buildDocsInSandbox = false;
|
||||
|
||||
options.services.wyoming.piper = with types; {
|
||||
package = mkPackageOptionMD pkgs "wyoming-piper" { };
|
||||
package = mkPackageOption pkgs "wyoming-piper" { };
|
||||
|
||||
servers = mkOption {
|
||||
default = {};
|
||||
|
@ -38,7 +38,7 @@ in
|
|||
options = {
|
||||
enable = mkEnableOption (mdDoc "Wyoming Piper server");
|
||||
|
||||
piper = mkPackageOptionMD pkgs "piper-tts" { };
|
||||
piper = mkPackageOption pkgs "piper-tts" { };
|
||||
|
||||
voice = mkOption {
|
||||
type = str;
|
||||
|
|
|
@ -231,7 +231,7 @@ in {
|
|||
|
||||
###### interface
|
||||
|
||||
options.services.borgbackup.package = mkPackageOptionMD pkgs "borgbackup" { };
|
||||
options.services.borgbackup.package = mkPackageOption pkgs "borgbackup" { };
|
||||
|
||||
options.services.borgbackup.jobs = mkOption {
|
||||
description = lib.mdDoc ''
|
||||
|
|
|
@ -10,7 +10,7 @@ in
|
|||
services.duplicati = {
|
||||
enable = mkEnableOption (lib.mdDoc "Duplicati");
|
||||
|
||||
package = mkPackageOptionMD pkgs "duplicati" { };
|
||||
package = mkPackageOption pkgs "duplicati" { };
|
||||
|
||||
port = mkOption {
|
||||
default = 8200;
|
||||
|
|
|
@ -114,7 +114,7 @@ in
|
|||
options.services.sanoid = {
|
||||
enable = mkEnableOption (lib.mdDoc "Sanoid ZFS snapshotting service");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "sanoid" {};
|
||||
package = lib.mkPackageOption pkgs "sanoid" {};
|
||||
|
||||
interval = mkOption {
|
||||
type = types.str;
|
||||
|
|
|
@ -87,7 +87,7 @@ in
|
|||
options.services.syncoid = {
|
||||
enable = mkEnableOption (lib.mdDoc "Syncoid ZFS synchronization service");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "sanoid" {};
|
||||
package = lib.mkPackageOption pkgs "sanoid" {};
|
||||
|
||||
interval = mkOption {
|
||||
type = types.str;
|
||||
|
|
|
@ -13,7 +13,7 @@ in {
|
|||
services.erigon = {
|
||||
enable = mkEnableOption (lib.mdDoc "Ethereum implementation on the efficiency frontier");
|
||||
|
||||
package = mkPackageOptionMD pkgs "erigon" { };
|
||||
package = mkPackageOption pkgs "erigon" { };
|
||||
|
||||
extraArgs = mkOption {
|
||||
type = types.listOf types.str;
|
||||
|
|
|
@ -19,7 +19,7 @@ let
|
|||
mapAttrs'
|
||||
mkEnableOption
|
||||
mkOption
|
||||
mkPackageOptionMD
|
||||
mkPackageOption
|
||||
mkIf
|
||||
nameValuePair
|
||||
types
|
||||
|
@ -56,7 +56,7 @@ in
|
|||
];
|
||||
|
||||
options.services.gitea-actions-runner = with types; {
|
||||
package = mkPackageOptionMD pkgs "gitea-actions-runner" { };
|
||||
package = mkPackageOption pkgs "gitea-actions-runner" { };
|
||||
|
||||
instances = mkOption {
|
||||
default = {};
|
||||
|
|
|
@ -11,7 +11,7 @@ let
|
|||
options = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "this Woodpecker-Agent. Agents execute tasks generated by a Server, every install will need one server and at least one agent");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "woodpecker-agent" { };
|
||||
package = lib.mkPackageOption pkgs "woodpecker-agent" { };
|
||||
|
||||
environment = lib.mkOption {
|
||||
default = { };
|
||||
|
|
|
@ -14,7 +14,7 @@ in
|
|||
options = {
|
||||
services.woodpecker-server = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "the Woodpecker-Server, a CI/CD application for automatic builds, deployments and tests");
|
||||
package = lib.mkPackageOptionMD pkgs "woodpecker-server" { };
|
||||
package = lib.mkPackageOption pkgs "woodpecker-server" { };
|
||||
environment = lib.mkOption {
|
||||
default = { };
|
||||
type = lib.types.attrsOf lib.types.str;
|
||||
|
|
|
@ -55,7 +55,7 @@ in
|
|||
services.dgraph = {
|
||||
enable = mkEnableOption (lib.mdDoc "Dgraph native GraphQL database with a graph backend");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "dgraph" { };
|
||||
package = lib.mkPackageOption pkgs "dgraph" { };
|
||||
|
||||
settings = mkOption {
|
||||
type = settingsFormat.type;
|
||||
|
|
|
@ -8,7 +8,7 @@ in
|
|||
options.services.lldap = with lib; {
|
||||
enable = mkEnableOption (mdDoc "lldap");
|
||||
|
||||
package = mkPackageOptionMD pkgs "lldap" { };
|
||||
package = mkPackageOption pkgs "lldap" { };
|
||||
|
||||
environment = mkOption {
|
||||
type = with types; attrsOf str;
|
||||
|
|
|
@ -8,7 +8,7 @@ in
|
|||
options = {
|
||||
services.openarena = {
|
||||
enable = mkEnableOption (lib.mdDoc "OpenArena");
|
||||
package = lib.mkPackageOptionMD pkgs "openarena" { };
|
||||
package = lib.mkPackageOption pkgs "openarena" { };
|
||||
|
||||
openPorts = mkOption {
|
||||
type = types.bool;
|
||||
|
|
|
@ -41,7 +41,7 @@ in {
|
|||
options = {
|
||||
services.quake3-server = {
|
||||
enable = mkEnableOption (lib.mdDoc "Quake 3 dedicated server");
|
||||
package = lib.mkPackageOptionMD pkgs "ioquake3" { };
|
||||
package = lib.mkPackageOption pkgs "ioquake3" { };
|
||||
|
||||
port = mkOption {
|
||||
type = types.port;
|
||||
|
|
|
@ -14,7 +14,7 @@ let
|
|||
mdDoc
|
||||
mkEnableOption
|
||||
mkIf
|
||||
mkPackageOptionMD
|
||||
mkPackageOption
|
||||
types
|
||||
;
|
||||
|
||||
|
@ -38,7 +38,7 @@ in
|
|||
options.services.homeassistant-satellite = with types; {
|
||||
enable = mkEnableOption (mdDoc "Home Assistant Satellite");
|
||||
|
||||
package = mkPackageOptionMD pkgs "homeassistant-satellite" { };
|
||||
package = mkPackageOption pkgs "homeassistant-satellite" { };
|
||||
|
||||
user = mkOption {
|
||||
type = str;
|
||||
|
|
|
@ -10,7 +10,7 @@ in {
|
|||
options.services.zwave-js = {
|
||||
enable = mkEnableOption (mdDoc "the zwave-js server on boot");
|
||||
|
||||
package = mkPackageOptionMD pkgs "zwave-js-server" { };
|
||||
package = mkPackageOption pkgs "zwave-js-server" { };
|
||||
|
||||
port = mkOption {
|
||||
type = types.port;
|
||||
|
|
|
@ -8,7 +8,7 @@ in
|
|||
options.services.vector = {
|
||||
enable = mkEnableOption (lib.mdDoc "Vector");
|
||||
|
||||
package = mkPackageOptionMD pkgs "vector" { };
|
||||
package = mkPackageOption pkgs "vector" { };
|
||||
|
||||
journaldAccess = mkOption {
|
||||
type = types.bool;
|
||||
|
|
|
@ -128,7 +128,7 @@ in {
|
|||
'';
|
||||
};
|
||||
};
|
||||
package = mkPackageOptionMD pkgs "listmonk" {};
|
||||
package = mkPackageOption pkgs "listmonk" {};
|
||||
settings = mkOption {
|
||||
type = types.submodule { freeformType = tomlFormat.type; };
|
||||
description = lib.mdDoc ''
|
||||
|
|
|
@ -11,7 +11,7 @@ let
|
|||
in {
|
||||
options.services.stalwart-mail = {
|
||||
enable = mkEnableOption (mdDoc "the Stalwart all-in-one email server");
|
||||
package = mkPackageOptionMD pkgs "stalwart-mail" { };
|
||||
package = mkPackageOption pkgs "stalwart-mail" { };
|
||||
|
||||
settings = mkOption {
|
||||
inherit (configFormat) type;
|
||||
|
|
|
@ -7,7 +7,7 @@ in
|
|||
options.services.matrix-synapse.sliding-sync = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "sliding sync");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "matrix-sliding-sync" { };
|
||||
package = lib.mkPackageOption pkgs "matrix-sliding-sync" { };
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = lib.types.submodule {
|
||||
|
|
|
@ -59,7 +59,7 @@ in
|
|||
options.services.maubot = with lib; {
|
||||
enable = mkEnableOption (mdDoc "maubot");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "maubot" { };
|
||||
package = lib.mkPackageOption pkgs "maubot" { };
|
||||
|
||||
plugins = mkOption {
|
||||
type = types.listOf types.package;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
inherit (lib) mapAttrs' nameValuePair filterAttrs types mkEnableOption
|
||||
mdDoc mkPackageOptionMD mkOption literalExpression mkIf flatten
|
||||
mdDoc mkPackageOption mkOption literalExpression mkIf flatten
|
||||
maintainers attrValues;
|
||||
|
||||
cfg = config.services.autosuspend;
|
||||
|
@ -96,7 +96,7 @@ in
|
|||
services.autosuspend = {
|
||||
enable = mkEnableOption (mdDoc "the autosuspend daemon");
|
||||
|
||||
package = mkPackageOptionMD pkgs "autosuspend" { };
|
||||
package = mkPackageOption pkgs "autosuspend" { };
|
||||
|
||||
settings = mkOption {
|
||||
type = types.submodule {
|
||||
|
|
|
@ -33,7 +33,7 @@ in
|
|||
services.calibre-server = {
|
||||
|
||||
enable = mkEnableOption (lib.mdDoc "calibre-server");
|
||||
package = lib.mkPackageOptionMD pkgs "calibre" { };
|
||||
package = lib.mkPackageOption pkgs "calibre" { };
|
||||
|
||||
libraries = mkOption {
|
||||
type = types.listOf types.path;
|
||||
|
|
|
@ -15,7 +15,7 @@ in {
|
|||
type = types.bool;
|
||||
};
|
||||
|
||||
package = mkPackageOptionMD pkgs "etcd" { };
|
||||
package = mkPackageOption pkgs "etcd" { };
|
||||
|
||||
name = mkOption {
|
||||
description = lib.mdDoc "Etcd unique node name.";
|
||||
|
|
|
@ -21,7 +21,7 @@ let
|
|||
mkIf
|
||||
mkMerge
|
||||
mkOption
|
||||
mkPackageOptionMD
|
||||
mkPackageOption
|
||||
mkRemovedOptionModule
|
||||
mkRenamedOptionModule
|
||||
optionalAttrs
|
||||
|
@ -57,7 +57,7 @@ in
|
|||
services.forgejo = {
|
||||
enable = mkEnableOption (mdDoc "Forgejo");
|
||||
|
||||
package = mkPackageOptionMD pkgs "forgejo" { };
|
||||
package = mkPackageOption pkgs "forgejo" { };
|
||||
|
||||
useWizard = mkOption {
|
||||
default = false;
|
||||
|
|
|
@ -12,7 +12,7 @@ in
|
|||
services.homepage-dashboard = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "Homepage Dashboard");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "homepage-dashboard" { };
|
||||
package = lib.mkPackageOption pkgs "homepage-dashboard" { };
|
||||
|
||||
openFirewall = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
|
|
|
@ -7,7 +7,7 @@ let cfg = config.services.input-remapper; in
|
|||
options = {
|
||||
services.input-remapper = {
|
||||
enable = mkEnableOption (lib.mdDoc "input-remapper, an easy to use tool to change the mapping of your input device buttons");
|
||||
package = mkPackageOptionMD pkgs "input-remapper" { };
|
||||
package = mkPackageOption pkgs "input-remapper" { };
|
||||
enableUdevRules = mkEnableOption (lib.mdDoc "udev rules added by input-remapper to handle hotplugged devices. Currently disabled by default due to https://github.com/sezanzeb/input-remapper/issues/140");
|
||||
serviceWantedBy = mkOption {
|
||||
default = [ "graphical.target" ];
|
||||
|
|
|
@ -13,7 +13,7 @@ in
|
|||
services.polaris = {
|
||||
enable = mkEnableOption (lib.mdDoc "Polaris Music Server");
|
||||
|
||||
package = mkPackageOptionMD pkgs "polaris" { };
|
||||
package = mkPackageOption pkgs "polaris" { };
|
||||
|
||||
user = mkOption {
|
||||
type = types.str;
|
||||
|
|
|
@ -11,7 +11,7 @@ in
|
|||
services.prowlarr = {
|
||||
enable = mkEnableOption (lib.mdDoc "Prowlarr");
|
||||
|
||||
package = mkPackageOptionMD pkgs "prowlarr" { };
|
||||
package = mkPackageOption pkgs "prowlarr" { };
|
||||
|
||||
openFirewall = mkOption {
|
||||
type = types.bool;
|
||||
|
|
|
@ -33,7 +33,7 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "pufferpanel" { };
|
||||
package = lib.mkPackageOption pkgs "pufferpanel" { };
|
||||
|
||||
extraGroups = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
|
|
|
@ -14,7 +14,7 @@ in
|
|||
options.services.rshim = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "user-space rshim driver for the BlueField SoC");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "rshim-user-space" { };
|
||||
package = lib.mkPackageOption pkgs "rshim-user-space" { };
|
||||
|
||||
backend = lib.mkOption {
|
||||
type = with lib.types; nullOr (enum [ "usb" "pcie" "pcie_lf" ]);
|
||||
|
|
|
@ -7,7 +7,7 @@ in
|
|||
options = {
|
||||
services.spice-autorandr = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "spice-autorandr service that will automatically resize display to match SPICE client window size.");
|
||||
package = lib.mkPackageOptionMD pkgs "spice-autorandr" { };
|
||||
package = lib.mkPackageOption pkgs "spice-autorandr" { };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ in
|
|||
options.services.certspotter = {
|
||||
enable = lib.mkEnableOption "Cert Spotter, a Certificate Transparency log monitor";
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "certspotter" { };
|
||||
package = lib.mkPackageOption pkgs "certspotter" { };
|
||||
|
||||
startAtEnd = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
let
|
||||
cfg = config.services.cockpit;
|
||||
inherit (lib) types mkEnableOption mkOption mkIf mdDoc literalMD mkPackageOptionMD;
|
||||
inherit (lib) types mkEnableOption mkOption mkIf mdDoc literalMD mkPackageOption;
|
||||
settingsFormat = pkgs.formats.ini {};
|
||||
in {
|
||||
options = {
|
||||
services.cockpit = {
|
||||
enable = mkEnableOption (mdDoc "Cockpit");
|
||||
|
||||
package = mkPackageOptionMD pkgs "Cockpit" {
|
||||
package = mkPackageOption pkgs "Cockpit" {
|
||||
default = [ "cockpit" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ in {
|
|||
services.goss = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "Goss daemon");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "goss" { };
|
||||
package = lib.mkPackageOption pkgs "goss" { };
|
||||
|
||||
environment = lib.mkOption {
|
||||
type = lib.types.attrsOf lib.types.str;
|
||||
|
|
|
@ -13,7 +13,7 @@ in
|
|||
options.services.grafana-agent = {
|
||||
enable = mkEnableOption (lib.mdDoc "grafana-agent");
|
||||
|
||||
package = mkPackageOptionMD pkgs "grafana-agent" { };
|
||||
package = mkPackageOption pkgs "grafana-agent" { };
|
||||
|
||||
credentials = mkOption {
|
||||
description = lib.mdDoc ''
|
||||
|
|
|
@ -22,7 +22,7 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "grafana-loki" { };
|
||||
package = lib.mkPackageOption pkgs "grafana-loki" { };
|
||||
|
||||
group = mkOption {
|
||||
type = types.str;
|
||||
|
|
|
@ -18,7 +18,7 @@ in
|
|||
services.ocsinventory-agent = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "OCS Inventory Agent");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "ocsinventory-agent" { };
|
||||
package = lib.mkPackageOption pkgs "ocsinventory-agent" { };
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = lib.types.submodule {
|
||||
|
|
|
@ -29,7 +29,7 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "exportarr" { };
|
||||
package = lib.mkPackageOption pkgs "exportarr" { };
|
||||
|
||||
environment = lib.mkOption {
|
||||
type = lib.types.attrsOf lib.types.str;
|
||||
|
|
|
@ -10,7 +10,7 @@ let
|
|||
in {
|
||||
port = 9253;
|
||||
extraOpts = {
|
||||
package = lib.mkPackageOptionMD pkgs "prometheus-php-fpm-exporter" {};
|
||||
package = lib.mkPackageOption pkgs "prometheus-php-fpm-exporter" {};
|
||||
|
||||
telemetryPath = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
|
|
|
@ -19,7 +19,7 @@ let
|
|||
mkIf
|
||||
mkMerge
|
||||
mkOption
|
||||
mkPackageOptionMD
|
||||
mkPackageOption
|
||||
optional
|
||||
optionalAttrs
|
||||
optionalString
|
||||
|
@ -682,7 +682,7 @@ in {
|
|||
|
||||
options.services.thanos = {
|
||||
|
||||
package = mkPackageOptionMD pkgs "thanos" {};
|
||||
package = mkPackageOption pkgs "thanos" {};
|
||||
|
||||
sidecar = paramsToOptions params.sidecar // {
|
||||
enable = mkEnableOption
|
||||
|
|
|
@ -210,7 +210,7 @@ in
|
|||
to the id part in ceph i.e. [ "name1" ] would result in mgr.name1
|
||||
'';
|
||||
};
|
||||
package = mkPackageOptionMD pkgs "ceph" { };
|
||||
package = mkPackageOption pkgs "ceph" { };
|
||||
extraConfig = mkOption {
|
||||
type = with types; attrsOf str;
|
||||
default = {};
|
||||
|
@ -231,7 +231,7 @@ in
|
|||
to the id part in ceph i.e. [ "name1" ] would result in mon.name1
|
||||
'';
|
||||
};
|
||||
package = mkPackageOptionMD pkgs "ceph" { };
|
||||
package = mkPackageOption pkgs "ceph" { };
|
||||
extraConfig = mkOption {
|
||||
type = with types; attrsOf str;
|
||||
default = {};
|
||||
|
@ -252,7 +252,7 @@ in
|
|||
to the id part in ceph i.e. [ "name1" ] would result in osd.name1
|
||||
'';
|
||||
};
|
||||
package = mkPackageOptionMD pkgs "ceph" { };
|
||||
package = mkPackageOption pkgs "ceph" { };
|
||||
extraConfig = mkOption {
|
||||
type = with types; attrsOf str;
|
||||
default = {
|
||||
|
@ -280,7 +280,7 @@ in
|
|||
to the id part in ceph i.e. [ "name1" ] would result in mds.name1
|
||||
'';
|
||||
};
|
||||
package = mkPackageOptionMD pkgs "ceph" { };
|
||||
package = mkPackageOption pkgs "ceph" { };
|
||||
extraConfig = mkOption {
|
||||
type = with types; attrsOf str;
|
||||
default = {};
|
||||
|
@ -292,7 +292,7 @@ in
|
|||
|
||||
rgw = {
|
||||
enable = mkEnableOption (lib.mdDoc "Ceph RadosGW daemon");
|
||||
package = mkPackageOptionMD pkgs "ceph" { };
|
||||
package = mkPackageOption pkgs "ceph" { };
|
||||
daemons = mkOption {
|
||||
type = with types; listOf str;
|
||||
default = [];
|
||||
|
|
|
@ -12,7 +12,7 @@ let
|
|||
mdDoc
|
||||
mkEnableOption
|
||||
mkOption
|
||||
mkPackageOptionMD
|
||||
mkPackageOption
|
||||
types
|
||||
;
|
||||
domain = "acme-dns.example.com";
|
||||
|
@ -21,7 +21,7 @@ in
|
|||
options.services.acme-dns = {
|
||||
enable = mkEnableOption (mdDoc "acme-dns");
|
||||
|
||||
package = mkPackageOptionMD pkgs "acme-dns" { };
|
||||
package = mkPackageOption pkgs "acme-dns" { };
|
||||
|
||||
settings = mkOption {
|
||||
description = mdDoc ''
|
||||
|
|
|
@ -11,7 +11,7 @@ in
|
|||
services.alice-lg = {
|
||||
enable = mkEnableOption (lib.mdDoc "Alice Looking Glass");
|
||||
|
||||
package = mkPackageOptionMD pkgs "alice-lg" { };
|
||||
package = mkPackageOption pkgs "alice-lg" { };
|
||||
|
||||
settings = mkOption {
|
||||
type = settingsFormat.type;
|
||||
|
|
|
@ -10,7 +10,7 @@ in
|
|||
options.services.centrifugo = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "Centrifugo messaging server");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "centrifugo" { };
|
||||
package = lib.mkPackageOption pkgs "centrifugo" { };
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = settingsFormat.type;
|
||||
|
|
|
@ -102,7 +102,7 @@ in
|
|||
options = {
|
||||
enable = mkEnableOption (mdDoc "cgit");
|
||||
|
||||
package = mkPackageOptionMD pkgs "cgit" {};
|
||||
package = mkPackageOption pkgs "cgit" {};
|
||||
|
||||
nginx.virtualHost = mkOption {
|
||||
description = mdDoc "VirtualHost to serve cgit on, defaults to the attribute name.";
|
||||
|
|
|
@ -16,7 +16,7 @@ in
|
|||
enable = mkEnableOption
|
||||
(mdDoc "dae, a Linux high-performance transparent proxy solution based on eBPF");
|
||||
|
||||
package = mkPackageOptionMD pkgs "dae" { };
|
||||
package = mkPackageOption pkgs "dae" { };
|
||||
|
||||
|
||||
assets = mkOption {
|
||||
|
|
|
@ -53,7 +53,7 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
package = mkPackageOptionMD pkgs "dnsmasq" {};
|
||||
package = mkPackageOption pkgs "dnsmasq" {};
|
||||
|
||||
resolveLocalQueries = mkOption {
|
||||
type = types.bool;
|
||||
|
|
|
@ -17,7 +17,7 @@ in
|
|||
options.services.envoy = {
|
||||
enable = mkEnableOption (lib.mdDoc "Envoy reverse proxy");
|
||||
|
||||
package = mkPackageOptionMD pkgs "envoy" { };
|
||||
package = mkPackageOption pkgs "envoy" { };
|
||||
|
||||
requireValidConfig = mkOption {
|
||||
type = types.bool;
|
||||
|
|
|
@ -14,7 +14,7 @@ in
|
|||
services.frp = {
|
||||
enable = mkEnableOption (mdDoc "frp");
|
||||
|
||||
package = mkPackageOptionMD pkgs "frp" { };
|
||||
package = mkPackageOption pkgs "frp" { };
|
||||
|
||||
role = mkOption {
|
||||
type = types.enum [ "server" "client" ];
|
||||
|
|
|
@ -19,7 +19,7 @@ with lib;
|
|||
|
||||
enable = mkEnableOption (lib.mdDoc "HAProxy, the reliable, high performance TCP/HTTP load balancer.");
|
||||
|
||||
package = mkPackageOptionMD pkgs "haproxy" { };
|
||||
package = mkPackageOption pkgs "haproxy" { };
|
||||
|
||||
user = mkOption {
|
||||
type = types.str;
|
||||
|
|
|
@ -14,7 +14,7 @@ in
|
|||
description = lib.mdDoc "Path to the signing key that will be used for signing the cache";
|
||||
};
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "harmonia" { };
|
||||
package = lib.mkPackageOption pkgs "harmonia" { };
|
||||
|
||||
settings = lib.mkOption {
|
||||
inherit (format) type;
|
||||
|
|
|
@ -7,7 +7,7 @@ let
|
|||
mdDoc
|
||||
mkIf
|
||||
mkOption
|
||||
mkPackageOptionMD
|
||||
mkPackageOption
|
||||
optionalAttrs
|
||||
optional
|
||||
types;
|
||||
|
@ -25,7 +25,7 @@ in
|
|||
options.services.legit = {
|
||||
enable = mkEnableOption (mdDoc "legit git web frontend");
|
||||
|
||||
package = mkPackageOptionMD pkgs "legit-web" { };
|
||||
package = mkPackageOption pkgs "legit-web" { };
|
||||
|
||||
user = mkOption {
|
||||
type = types.str;
|
||||
|
|
|
@ -7,7 +7,7 @@ in
|
|||
|
||||
options.services.netclient = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "Netclient Daemon");
|
||||
package = lib.mkPackageOptionMD pkgs "netclient" { };
|
||||
package = lib.mkPackageOption pkgs "netclient" { };
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
@ -117,7 +117,7 @@ let
|
|||
};
|
||||
in {
|
||||
options.networking.openconnect = {
|
||||
package = mkPackageOptionMD pkgs "openconnect" { };
|
||||
package = mkPackageOption pkgs "openconnect" { };
|
||||
|
||||
interfaces = mkOption {
|
||||
description = lib.mdDoc "OpenConnect interfaces.";
|
||||
|
|
|
@ -11,7 +11,7 @@ in
|
|||
options.services.peroxide = {
|
||||
enable = mkEnableOption (lib.mdDoc "peroxide");
|
||||
|
||||
package = mkPackageOptionMD pkgs "peroxide" {
|
||||
package = mkPackageOption pkgs "peroxide" {
|
||||
default = [ "peroxide" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ in
|
|||
|
||||
enable = mkEnableOption (lib.mdDoc "ShellHub Agent daemon");
|
||||
|
||||
package = mkPackageOptionMD pkgs "shellhub-agent" { };
|
||||
package = mkPackageOption pkgs "shellhub-agent" { };
|
||||
|
||||
preferredHostname = mkOption {
|
||||
type = types.str;
|
||||
|
|
|
@ -13,7 +13,7 @@ in
|
|||
services.sing-box = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "sing-box universal proxy platform");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "sing-box" { };
|
||||
package = lib.mkPackageOption pkgs "sing-box" { };
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = lib.types.submodule {
|
||||
|
|
|
@ -29,7 +29,7 @@ in {
|
|||
description = lib.mdDoc "Username or user ID of the user allowed to to fetch Tailscale TLS certificates for the node.";
|
||||
};
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "tailscale" {};
|
||||
package = lib.mkPackageOption pkgs "tailscale" {};
|
||||
|
||||
openFirewall = mkOption {
|
||||
default = false;
|
||||
|
|
|
@ -25,7 +25,7 @@ in
|
|||
options.services.thelounge = {
|
||||
enable = mkEnableOption (lib.mdDoc "The Lounge web IRC client");
|
||||
|
||||
package = mkPackageOptionMD pkgs "thelounge" { };
|
||||
package = mkPackageOption pkgs "thelounge" { };
|
||||
|
||||
public = mkOption {
|
||||
type = types.bool;
|
||||
|
|
|
@ -28,7 +28,7 @@ in
|
|||
options = {
|
||||
services.tinyproxy = {
|
||||
enable = mkEnableOption (lib.mdDoc "Tinyproxy daemon");
|
||||
package = mkPackageOptionMD pkgs "tinyproxy" {};
|
||||
package = mkPackageOption pkgs "tinyproxy" {};
|
||||
settings = mkOption {
|
||||
description = lib.mdDoc "Configuration for [tinyproxy](https://tinyproxy.github.io/).";
|
||||
default = { };
|
||||
|
|
|
@ -6,7 +6,7 @@ in
|
|||
{
|
||||
options.services.twingate = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "Twingate Client daemon");
|
||||
package = lib.mkPackageOptionMD pkgs "twingate" { };
|
||||
package = lib.mkPackageOption pkgs "twingate" { };
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
@ -71,7 +71,7 @@ in
|
|||
services.vdirsyncer = {
|
||||
enable = mkEnableOption (mdDoc "vdirsyncer");
|
||||
|
||||
package = mkPackageOptionMD pkgs "vdirsyncer" {};
|
||||
package = mkPackageOption pkgs "vdirsyncer" {};
|
||||
|
||||
jobs = mkOption {
|
||||
description = mdDoc "vdirsyncer job configurations";
|
||||
|
|
|
@ -36,7 +36,7 @@ in {
|
|||
which execute configured commands for any person or service that knows the URL
|
||||
'');
|
||||
|
||||
package = mkPackageOptionMD pkgs "webhook" {};
|
||||
package = mkPackageOption pkgs "webhook" {};
|
||||
user = mkOption {
|
||||
type = types.str;
|
||||
default = defaultUser;
|
||||
|
|
|
@ -48,7 +48,7 @@ let
|
|||
default = true;
|
||||
};
|
||||
|
||||
package = mkPackageOptionMD pkgs "wstunnel" {};
|
||||
package = mkPackageOption pkgs "wstunnel" {};
|
||||
|
||||
autoStart = mkOption {
|
||||
description = mdDoc "Whether this tunnel server should be started automatically.";
|
||||
|
|
|
@ -25,7 +25,7 @@ in
|
|||
options.services.opensearch = {
|
||||
enable = mkEnableOption (lib.mdDoc "OpenSearch");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "OpenSearch" {
|
||||
package = lib.mkPackageOption pkgs "OpenSearch" {
|
||||
default = [ "opensearch" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ in {
|
|||
services.sonic-server = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "Sonic Search Index");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "sonic-server" { };
|
||||
package = lib.mkPackageOption pkgs "sonic-server" { };
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = lib.types.submodule { freeformType = settingsFormat.type; };
|
||||
|
|
|
@ -6,7 +6,7 @@ in
|
|||
{
|
||||
options.services.esdm = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "ESDM service configuration");
|
||||
package = lib.mkPackageOptionMD pkgs "esdm" { };
|
||||
package = lib.mkPackageOption pkgs "esdm" { };
|
||||
serverEnable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
|
|
|
@ -6,7 +6,7 @@ in
|
|||
options.services.jitterentropy-rngd = {
|
||||
enable =
|
||||
lib.mkEnableOption (lib.mdDoc "jitterentropy-rngd service configuration");
|
||||
package = lib.mkPackageOptionMD pkgs "jitterentropy-rngd" { };
|
||||
package = lib.mkPackageOption pkgs "jitterentropy-rngd" { };
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
|
|
@ -69,7 +69,7 @@ in
|
|||
enableServer = lib.mkEnableOption (lib.mdDoc "the Kanidm server");
|
||||
enablePam = lib.mkEnableOption (lib.mdDoc "the Kanidm PAM and NSS integration");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "kanidm" {};
|
||||
package = lib.mkPackageOption pkgs "kanidm" {};
|
||||
|
||||
serverSettings = lib.mkOption {
|
||||
type = lib.types.submodule {
|
||||
|
|
|
@ -14,7 +14,7 @@ let
|
|||
options = {
|
||||
enable = mkEnableOption (mdDoc "this ${flavour} instance") // { default = true; };
|
||||
|
||||
package = mkPackageOptionMD pkgs pkgName { };
|
||||
package = mkPackageOption pkgs pkgName { };
|
||||
|
||||
user = mkOption {
|
||||
type = types.str;
|
||||
|
|
|
@ -11,7 +11,7 @@ in
|
|||
services.bpftune = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "bpftune BPF driven auto-tuning");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "bpftune" { };
|
||||
package = lib.mkPackageOption pkgs "bpftune" { };
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ in
|
|||
options.services.zram-generator = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "Systemd unit generator for zram devices");
|
||||
|
||||
package = lib.mkPackageOptionMD pkgs "zram-generator" { };
|
||||
package = lib.mkPackageOption pkgs "zram-generator" { };
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = lib.types.submodule {
|
||||
|
|
|
@ -16,7 +16,7 @@ in {
|
|||
services.flexget = {
|
||||
enable = mkEnableOption (lib.mdDoc "FlexGet daemon");
|
||||
|
||||
package = mkPackageOptionMD pkgs "flexget" {};
|
||||
package = mkPackageOption pkgs "flexget" {};
|
||||
|
||||
user = mkOption {
|
||||
default = "deluge";
|
||||
|
|
|
@ -7,7 +7,7 @@ in
|
|||
{
|
||||
options.services.torrentstream = {
|
||||
enable = lib.mkEnableOption (lib.mdDoc "TorrentStream daemon");
|
||||
package = lib.mkPackageOptionMD pkgs "torrentstream" { };
|
||||
package = lib.mkPackageOption pkgs "torrentstream" { };
|
||||
port = lib.mkOption {
|
||||
type = lib.types.port;
|
||||
default = 5082;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue