summary refs log tree commit diff
path: root/nixos/modules/services/backup
diff options
context:
space:
mode:
authorRobert Hensing <roberth@users.noreply.github.com>2021-12-06 01:35:38 +0100
committerGitHub <noreply@github.com>2021-12-06 01:35:38 +0100
commit862d167f17953b690f389b8f8f425aa752d18b74 (patch)
treee23a5843235011731578f3c5526582a8ad92a628 /nixos/modules/services/backup
parent8ae9ae17b4de60e4b6d59b7de1dca08ce61d8af2 (diff)
parentc694c35f9da13e7008b281d757385e6ad525e22a (diff)
downloadnixpkgs-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.nix3
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