mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 20:14:37 +00:00
nixos/bookstack: Refactor to use config.networking.fqdnOrHostName
This commit is contained in:
parent
12da62fef5
commit
c069475f82
@ -60,11 +60,8 @@ in {
|
||||
|
||||
hostname = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = if config.networking.domain != null then
|
||||
config.networking.fqdn
|
||||
else
|
||||
config.networking.hostName;
|
||||
defaultText = lib.literalExpression "config.networking.fqdn";
|
||||
default = config.networking.fqdnOrHostName;
|
||||
defaultText = lib.literalExpression "config.networking.fqdnOrHostName";
|
||||
example = "bookstack.example.com";
|
||||
description = lib.mdDoc ''
|
||||
The hostname to serve BookStack on.
|
||||
|
Loading…
Reference in New Issue
Block a user