mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/podman-network-socket-ghostunnel: move condition to include socket
This commit is contained in:
parent
829b074ee0
commit
72f54c32a6
1 changed files with 2 additions and 2 deletions
|
@ -15,9 +15,9 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
config = lib.mkIf (cfg.enable && cfg.server == "ghostunnel") {
|
||||
|
||||
services.ghostunnel = lib.mkIf (cfg.enable && cfg.server == "ghostunnel") {
|
||||
services.ghostunnel = {
|
||||
enable = true;
|
||||
servers."podman-socket" = {
|
||||
inherit (cfg.tls) cert key cacert;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue