diff options
author | Phillip Cloud <cloud@standard.ai> | 2021-01-18 09:07:56 -0500 |
---|---|---|
committer | Phillip Cloud <cloud@standard.ai> | 2021-01-23 19:44:37 -0500 |
commit | b72a46713f12a311a9e5455a8fc446cd981850bb (patch) | |
tree | c853a4b2f99a7bf4fd9afbdd82776df801b11a5d /nixos | |
parent | b80c4544592fe8cf665c4e76b91f912c50877c51 (diff) |
nixos/nomad: reformat SupplementaryGroups expression
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/nomad.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/nomad.nix b/nixos/modules/services/networking/nomad.nix index 0845b4f97b88..3f06490faa79 100644 --- a/nixos/modules/services/networking/nomad.nix +++ b/nixos/modules/services/networking/nomad.nix @@ -138,7 +138,9 @@ in TasksMax = "infinity"; User = optionalString cfg.dropPrivileges "nomad"; } - (mkIf cfg.enableDocker { SupplementaryGroups = "docker"; }) # space-separated string + (mkIf cfg.enableDocker { + SupplementaryGroups = "docker"; # space-separated string + }) (mkIf (cfg.settings.data_dir == "/var/lib/nomad") { StateDirectory = "nomad"; }) ]; |