From 5d0b3b7228b6a89033adb7df07db82efb7951b6f Mon Sep 17 00:00:00 2001 From: Phillip Cloud Date: Tue, 19 Jan 2021 07:21:31 -0500 Subject: nixos/nomad: fix markup and remove suggestion --- nixos/modules/services/networking/nomad.nix | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'nixos/modules/services/networking/nomad.nix') diff --git a/nixos/modules/services/networking/nomad.nix b/nixos/modules/services/networking/nomad.nix index 80dcbe16f129a..7951930c3a18c 100644 --- a/nixos/modules/services/networking/nomad.nix +++ b/nixos/modules/services/networking/nomad.nix @@ -67,19 +67,19 @@ in Configuration for Nomad. See the documentation for supported values. - Notes about `data_dir`: - - If `data_dir` is set to a value other than the default value of - `"/var/lib/nomad"` it is the Nomad cluster manager's responsibility - to make sure that this directory exists and has the appropriate - permissions. One way to ensure this is the case to create the - directory and adjust its permissions as needed using the - `ExecStartPre` feature of systemd. - - Additionally, if `dropPrivileges` is `true` then `data_dir` - **cannot** be customized. Setting `dropPrivileges` to `true` enables - the `DynamicUser` feature of systemd which directly manages and - operates on `StateDirectory`. + Notes about data_dir: + + If data_dir is set to a value other than the + default value of "/var/lib/nomad" it is the Nomad + cluster manager's responsibility to make sure that this directory + exists and has the appropriate permissions. + + Additionally, if dropPrivileges is + true then data_dir + cannot be customized. Setting + dropPrivileges to true enables + the DynamicUser feature of systemd which directly + manages and operates on StateDirectory. ''; example = literalExample '' { -- cgit 1.4.1