diff options
author | Robert Hensing <roberth@users.noreply.github.com> | 2021-12-06 01:35:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-06 01:35:38 +0100 |
commit | 862d167f17953b690f389b8f8f425aa752d18b74 (patch) | |
tree | e23a5843235011731578f3c5526582a8ad92a628 /nixos/modules/services/backup | |
parent | 8ae9ae17b4de60e4b6d59b7de1dca08ce61d8af2 (diff) | |
parent | c694c35f9da13e7008b281d757385e6ad525e22a (diff) | |
download | nixpkgs-862d167f17953b690f389b8f8f425aa752d18b74.tar nixpkgs-862d167f17953b690f389b8f8f425aa752d18b74.tar.gz nixpkgs-862d167f17953b690f389b8f8f425aa752d18b74.tar.bz2 nixpkgs-862d167f17953b690f389b8f8f425aa752d18b74.tar.lz nixpkgs-862d167f17953b690f389b8f8f425aa752d18b74.tar.xz nixpkgs-862d167f17953b690f389b8f8f425aa752d18b74.tar.zst nixpkgs-862d167f17953b690f389b8f8f425aa752d18b74.zip |
Merge pull request #147441 from pennae/option-doc-staticizing
nixos/*: add trivial defaultText to options where applicable
Diffstat (limited to 'nixos/modules/services/backup')
-rw-r--r-- | nixos/modules/services/backup/bacula.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/backup/bacula.nix b/nixos/modules/services/backup/bacula.nix index cc8b77cbfbe..59890204234 100644 --- a/nixos/modules/services/backup/bacula.nix +++ b/nixos/modules/services/backup/bacula.nix @@ -302,6 +302,7 @@ in { name = mkOption { default = "${config.networking.hostName}-fd"; + defaultText = literalExpression ''"''${config.networking.hostName}-fd"''; type = types.str; description = '' The client name that must be used by the Director when connecting. @@ -364,6 +365,7 @@ in { name = mkOption { default = "${config.networking.hostName}-sd"; + defaultText = literalExpression ''"''${config.networking.hostName}-sd"''; type = types.str; description = '' Specifies the Name of the Storage daemon. @@ -439,6 +441,7 @@ in { name = mkOption { default = "${config.networking.hostName}-dir"; + defaultText = literalExpression ''"''${config.networking.hostName}-dir"''; type = types.str; description = '' The director name used by the system administrator. This directive is |