treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
This commit is contained in:
@@ -200,10 +200,10 @@ in
|
||||
after = [
|
||||
"network-online.target"
|
||||
]
|
||||
++ optionals (wantsDocker) [
|
||||
++ optionals wantsDocker [
|
||||
"docker.service"
|
||||
]
|
||||
++ optionals (wantsPodman) [
|
||||
++ optionals wantsPodman [
|
||||
"podman.service"
|
||||
];
|
||||
wantedBy = [
|
||||
@@ -213,7 +213,7 @@ in
|
||||
optionalAttrs (instance.token != null) {
|
||||
TOKEN = "${instance.token}";
|
||||
}
|
||||
// optionalAttrs (wantsPodman) {
|
||||
// optionalAttrs wantsPodman {
|
||||
DOCKER_HOST = "unix:///run/podman/podman.sock";
|
||||
}
|
||||
// {
|
||||
@@ -266,10 +266,10 @@ in
|
||||
];
|
||||
ExecStart = "${cfg.package}/bin/act_runner daemon --config ${configFile}";
|
||||
SupplementaryGroups =
|
||||
optionals (wantsDocker) [
|
||||
optionals wantsDocker [
|
||||
"docker"
|
||||
]
|
||||
++ optionals (wantsPodman) [
|
||||
++ optionals wantsPodman [
|
||||
"podman"
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user