Added boilerplate for lldap and handle wildcard certificates for tbmrs.nl
This commit is contained in:
24
modules/home/containers/network.nix
Normal file
24
modules/home/containers/network.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.settings.containers.nginx;
|
||||
in {
|
||||
options = {
|
||||
settings.containers.network.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Enable network
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.podman.networks.proxy = {
|
||||
description = "Container network for the proxy";
|
||||
autoStart = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user