nixos/nomad: reformat SupplementaryGroups expression
This commit is contained in:
parent
b80c454459
commit
b72a46713f
|
@ -138,7 +138,9 @@ in
|
||||||
TasksMax = "infinity";
|
TasksMax = "infinity";
|
||||||
User = optionalString cfg.dropPrivileges "nomad";
|
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"; })
|
(mkIf (cfg.settings.data_dir == "/var/lib/nomad") { StateDirectory = "nomad"; })
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue