diff options
author | Naïm Favier <n@monade.li> | 2022-11-03 15:52:19 +0100 |
---|---|---|
committer | pennae <82953136+pennae@users.noreply.github.com> | 2022-12-08 17:52:52 +0100 |
commit | 0ff3b35356b5a57f93b4a7c27ed9ca4c71d388ac (patch) | |
tree | eb1d4c95b800ad646364f67f7d3060da5ff642fe /nixos/modules/services/games | |
parent | 4cc7973ae61a06bba906672318639da03ee0be44 (diff) | |
download | nixpkgs-0ff3b35356b5a57f93b4a7c27ed9ca4c71d388ac.tar nixpkgs-0ff3b35356b5a57f93b4a7c27ed9ca4c71d388ac.tar.gz nixpkgs-0ff3b35356b5a57f93b4a7c27ed9ca4c71d388ac.tar.bz2 nixpkgs-0ff3b35356b5a57f93b4a7c27ed9ca4c71d388ac.tar.lz nixpkgs-0ff3b35356b5a57f93b4a7c27ed9ca4c71d388ac.tar.xz nixpkgs-0ff3b35356b5a57f93b4a7c27ed9ca4c71d388ac.tar.zst nixpkgs-0ff3b35356b5a57f93b4a7c27ed9ca4c71d388ac.zip |
nixos/doc: fix some options
Diffstat (limited to 'nixos/modules/services/games')
-rw-r--r-- | nixos/modules/services/games/asf.nix | 8 | ||||
-rw-r--r-- | nixos/modules/services/games/terraria.nix | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/nixos/modules/services/games/asf.nix b/nixos/modules/services/games/asf.nix index 10847e8f11f..d3f7883421c 100644 --- a/nixos/modules/services/games/asf.nix +++ b/nixos/modules/services/games/asf.nix @@ -43,12 +43,14 @@ in web-ui = mkOption { type = types.submodule { options = { - enable = mkEnableOption - (lib.mdDoc "Wheter to start the web-ui. This is the preferred way of configuring things such as the steam guard token"); + enable = mkEnableOption "" // { + description = lib.mdDoc "Whether to start the web-ui. This is the preferred way of configuring things such as the steam guard token."; + }; package = mkOption { type = types.package; default = pkgs.ArchiSteamFarm.ui; + defaultText = lib.literalExpression "pkgs.ArchiSteamFarm.ui"; description = lib.mdDoc "Web-UI package to use. Contents must be in lib/dist."; }; @@ -56,7 +58,6 @@ in }; default = { enable = true; - package = pkgs.ArchiSteamFarm.ui; }; example = { enable = false; @@ -67,6 +68,7 @@ in package = mkOption { type = types.package; default = pkgs.ArchiSteamFarm; + defaultText = lib.literalExpression "pkgs.ArchiSteamFarm"; description = lib.mdDoc "Package to use. Should always be the latest version, for security reasons, since this module uses very new features and to not get out of sync with the Steam API."; }; diff --git a/nixos/modules/services/games/terraria.nix b/nixos/modules/services/games/terraria.nix index 571bcde2c5b..ccdd779165b 100644 --- a/nixos/modules/services/games/terraria.nix +++ b/nixos/modules/services/games/terraria.nix @@ -116,7 +116,7 @@ in openFirewall = mkOption { type = types.bool; default = false; - description = lib.mdDoc "Wheter to open ports in the firewall"; + description = lib.mdDoc "Whether to open ports in the firewall"; }; dataDir = mkOption { |