diff options
author | Phillip Cloud <cloud@standard.ai> | 2021-01-19 07:21:31 -0500 |
---|---|---|
committer | Phillip Cloud <cloud@standard.ai> | 2021-01-23 19:44:37 -0500 |
commit | 5d0b3b7228b6a89033adb7df07db82efb7951b6f (patch) | |
tree | 828f6a5c6311ffc349995fd6fd93ae46d9777589 /nixos | |
parent | bddb7ac4066574c868091a5bbd10f770bdae0c32 (diff) | |
download | nixpkgs-5d0b3b7228b6a89033adb7df07db82efb7951b6f.tar nixpkgs-5d0b3b7228b6a89033adb7df07db82efb7951b6f.tar.gz nixpkgs-5d0b3b7228b6a89033adb7df07db82efb7951b6f.tar.bz2 nixpkgs-5d0b3b7228b6a89033adb7df07db82efb7951b6f.tar.lz nixpkgs-5d0b3b7228b6a89033adb7df07db82efb7951b6f.tar.xz nixpkgs-5d0b3b7228b6a89033adb7df07db82efb7951b6f.tar.zst nixpkgs-5d0b3b7228b6a89033adb7df07db82efb7951b6f.zip |
nixos/nomad: fix markup and remove suggestion
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/nomad.nix | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/nixos/modules/services/networking/nomad.nix b/nixos/modules/services/networking/nomad.nix index 80dcbe16f12..7951930c3a1 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 <link xlink:href="https://www.nomadproject.io/docs/configuration">documentation</link> 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 <literal>data_dir</literal>: + + If <literal>data_dir</literal> is set to a value other than the + default value of <literal>"/var/lib/nomad"</literal> it is the Nomad + cluster manager's responsibility to make sure that this directory + exists and has the appropriate permissions. + + Additionally, if <literal>dropPrivileges</literal> is + <literal>true</literal> then <literal>data_dir</literal> + <emphasis>cannot</emphasis> be customized. Setting + <literal>dropPrivileges</literal> to <literal>true</literal> enables + the <literal>DynamicUser</literal> feature of systemd which directly + manages and operates on <literal>StateDirectory</literal>. ''; example = literalExample '' { |