chore(nix): remove mdDoc from module

This commit is contained in:
seth 2024-08-06 23:47:09 -04:00
parent fc012b86af
commit c7086265ed
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86

View file

@ -12,7 +12,6 @@ let
inherit (lib) inherit (lib)
getExe getExe
literalExpression literalExpression
mdDoc
mkEnableOption mkEnableOption
mkIf mkIf
mkOption mkOption
@ -27,7 +26,7 @@ in
package = mkPackageOption self.packages.${pkgs.stdenv.hostPlatform.system} "refraction" { }; package = mkPackageOption self.packages.${pkgs.stdenv.hostPlatform.system} "refraction" { };
user = mkOption { user = mkOption {
description = mdDoc '' description = ''
User under which the service should run. If this is the default value, User under which the service should run. If this is the default value,
the user will be created, with the specified group as the primary the user will be created, with the specified group as the primary
group. group.
@ -40,7 +39,7 @@ in
}; };
group = mkOption { group = mkOption {
description = mdDoc '' description = ''
Group under which the service should run. If this is the default value, Group under which the service should run. If this is the default value,
the group will be created. the group will be created.
''; '';
@ -52,7 +51,7 @@ in
}; };
redisUrl = mkOption { redisUrl = mkOption {
description = mdDoc '' description = ''
Connection to a redis server. If this needs to include credentials Connection to a redis server. If this needs to include credentials
that shouldn't be world-readable in the Nix store, set environmentFile that shouldn't be world-readable in the Nix store, set environmentFile
and override the `REDIS_URL` entry. and override the `REDIS_URL` entry.
@ -66,7 +65,7 @@ in
}; };
environmentFile = mkOption { environmentFile = mkOption {
description = mdDoc '' description = ''
Environment file as defined in {manpage}`systemd.exec(5)` Environment file as defined in {manpage}`systemd.exec(5)`
''; '';
type = types.nullOr types.path; type = types.nullOr types.path;