diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2020-08-07 14:43:58 +0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2020-08-07 14:45:39 +0100 |
commit | ba930d8679a3945e9a2196f22bda8a1f06972438 (patch) | |
tree | 8201688d1a1742131cd27ca753da8305305701b6 /nixos/modules/services/backup | |
parent | e879d83e38030fd37787ecbb01d5bddc5678c8ff (diff) | |
download | nixpkgs-ba930d8679a3945e9a2196f22bda8a1f06972438.tar nixpkgs-ba930d8679a3945e9a2196f22bda8a1f06972438.tar.gz nixpkgs-ba930d8679a3945e9a2196f22bda8a1f06972438.tar.bz2 nixpkgs-ba930d8679a3945e9a2196f22bda8a1f06972438.tar.lz nixpkgs-ba930d8679a3945e9a2196f22bda8a1f06972438.tar.xz nixpkgs-ba930d8679a3945e9a2196f22bda8a1f06972438.tar.zst nixpkgs-ba930d8679a3945e9a2196f22bda8a1f06972438.zip |
nixos/modules: remove trailing whitespace
This leads to ci failure otherwise if the file gets changed. git-blame can ignore whitespace changes.
Diffstat (limited to 'nixos/modules/services/backup')
-rw-r--r-- | nixos/modules/services/backup/bacula.nix | 36 | ||||
-rw-r--r-- | nixos/modules/services/backup/restic.nix | 2 |
2 files changed, 19 insertions, 19 deletions
diff --git a/nixos/modules/services/backup/bacula.nix b/nixos/modules/services/backup/bacula.nix index cef304734ae..3d69a69038a 100644 --- a/nixos/modules/services/backup/bacula.nix +++ b/nixos/modules/services/backup/bacula.nix @@ -18,7 +18,7 @@ let Pid Directory = "/run"; ${fd_cfg.extraClientConfig} } - + ${concatStringsSep "\n" (mapAttrsToList (name: value: '' Director { Name = "${name}"; @@ -26,7 +26,7 @@ let Monitor = "${value.monitor}"; } '') fd_cfg.director)} - + Messages { Name = Standard; syslog = all, !skipped, !restored @@ -35,7 +35,7 @@ let ''; sd_cfg = config.services.bacula-sd; - sd_conf = pkgs.writeText "bacula-sd.conf" + sd_conf = pkgs.writeText "bacula-sd.conf" '' Storage { Name = "${sd_cfg.name}"; @@ -80,7 +80,7 @@ let ''; dir_cfg = config.services.bacula-dir; - dir_conf = pkgs.writeText "bacula-dir.conf" + dir_conf = pkgs.writeText "bacula-dir.conf" '' Director { Name = "${dir_cfg.name}"; @@ -125,10 +125,10 @@ let The password is plain text. It is not generated through any special process but as noted above, it is better to use random text for - security reasons. + security reasons. ''; }; - + monitor = mkOption { default = "no"; example = "yes"; @@ -140,7 +140,7 @@ let Please note that if this director is being used by a Monitor, we highly recommend to set this directive to yes to avoid serious - security problems. + security problems. ''; }; }; @@ -163,7 +163,7 @@ let type of autochanger, what you specify here can vary. This directive is optional. See the Using AutochangersAutochangersChapter chapter of this manual for more details of using this and the following - autochanger directives. + autochanger directives. ''; }; @@ -200,7 +200,7 @@ let Extra configuration to be passed in Autochanger directive. ''; example = '' - + ''; }; }; @@ -222,7 +222,7 @@ let if you are archiving to disk storage. In this case, you must supply the full absolute path to the directory. When specifying a tape device, it is preferable that the "non-rewind" variant of the device - file name be given. + file name be given. ''; }; @@ -290,7 +290,7 @@ in { Whether to enable the Bacula File Daemon. ''; }; - + name = mkOption { default = "${config.networking.hostName}-fd"; description = '' @@ -300,7 +300,7 @@ in { Clients. This directive is required. ''; }; - + port = mkOption { default = 9102; type = types.int; @@ -310,7 +310,7 @@ in { the Client resource of the Director's configuration file. ''; }; - + director = mkOption { default = {}; description = '' @@ -349,14 +349,14 @@ in { Whether to enable Bacula Storage Daemon. ''; }; - + name = mkOption { default = "${config.networking.hostName}-sd"; description = '' Specifies the Name of the Storage daemon. ''; }; - + port = mkOption { default = 9103; type = types.int; @@ -410,7 +410,7 @@ in { console = all ''; }; - + }; services.bacula-dir = { @@ -429,7 +429,7 @@ in { required. ''; }; - + port = mkOption { default = 9101; type = types.int; @@ -442,7 +442,7 @@ in { specify DirAddresses (N.B plural) directive. ''; }; - + password = mkOption { # TODO: required? description = '' diff --git a/nixos/modules/services/backup/restic.nix b/nixos/modules/services/backup/restic.nix index c38fd361d35..d869835bf07 100644 --- a/nixos/modules/services/backup/restic.nix +++ b/nixos/modules/services/backup/restic.nix @@ -55,7 +55,7 @@ in Configuration for the rclone remote being used for backup. See the remote's specific options under rclone's docs at <link xlink:href="https://rclone.org/docs/"/>. When specifying - option names, use the "config" name specified in the docs. + option names, use the "config" name specified in the docs. For example, to set <literal>--b2-hard-delete</literal> for a B2 remote, use <literal>hard_delete = true</literal> in the attribute set. |