Add other services

This commit is contained in:
Théo Barnouin 2024-09-09 15:19:57 +02:00
parent 0bbb49efee
commit ff8a4d23a9
10 changed files with 377 additions and 7 deletions

View file

@ -0,0 +1,14 @@
{ inputs, config, lib, authentik-nix, ... }:
let
cfg = config.services.vm_authentik;
in
{
options.services.vm_authentik = {
enable = lib.mkEnableOption "Enable minimal config";
};
config = lib.mkIf cfg.enable {
networking = {
firewall.allowedTCPPorts = [ 9000 9300 9443 ];
};
};
}