nixos/cloudflared: guard config with enable flag
This commit is contained in:
parent
5d5dbf114f
commit
e27e857def
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
config = mkIf cfg.enable {
|
||||
systemd.targets =
|
||||
mapAttrs'
|
||||
(name: tunnel:
|
||||
|
|
Loading…
Reference in a new issue