increase systemd NOFILE
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
displayManager.enable = true;
|
||||
};
|
||||
|
||||
systemd.extraConfig = "DefaultLimitNOFILE=2048";
|
||||
|
||||
environment.sessionVariables = {
|
||||
WLR_BACKENDS = "headless";
|
||||
@@ -225,7 +226,7 @@
|
||||
|
||||
traefik.enable = true;
|
||||
|
||||
authentik.enable = true;
|
||||
#authentik.enable = true;
|
||||
|
||||
gitlab.enable = false;
|
||||
};
|
||||
|
||||
@@ -1,15 +1,11 @@
|
||||
{ config, lib, inputs, ... }: {
|
||||
|
||||
options.sysconfig.virtualization.authentik.enable = lib.options.mkOption {
|
||||
options.sysconfig.opts.virtualization.authentik.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
imports = [
|
||||
inputs.authentik-nix.nixosModules.default
|
||||
];
|
||||
|
||||
config = lib.mkIf config.sysconfig.virtualization.authentik.enable {
|
||||
config = lib.mkIf config.sysconfig.opts.virtualization.authentik.enable {
|
||||
|
||||
sops.templates."authentik.env" = {
|
||||
content = ''
|
||||
@@ -22,7 +18,7 @@
|
||||
|
||||
containers.authentik = {
|
||||
|
||||
autostart = true;
|
||||
autoStart = true;
|
||||
privateNetwork = true;
|
||||
hostAddress = "192.168.100.10";
|
||||
localAddress = "192.168.100.13";
|
||||
@@ -34,6 +30,10 @@
|
||||
};
|
||||
|
||||
config = {
|
||||
|
||||
imports = [
|
||||
inputs.authentik-nix.nixosModules.default
|
||||
];
|
||||
|
||||
services.authentik = {
|
||||
|
||||
@@ -48,6 +48,8 @@
|
||||
};
|
||||
|
||||
networking.firewall.enable = false;
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@@ -3,5 +3,6 @@
|
||||
imports = [
|
||||
./gitlab
|
||||
./traefik
|
||||
./authentik
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user