adding some tweaks to dalinar
This commit is contained in:
parent
e37b143394
commit
854c3c46d1
|
@ -4,7 +4,7 @@ with lib;
|
|||
{
|
||||
services.matrix-synapse = {
|
||||
enable = true;
|
||||
withJemalloc = true;
|
||||
# withJemalloc = true;
|
||||
settings = {
|
||||
enable_metrics = true;
|
||||
enable_registration = true;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
../../modules/servers.nix
|
||||
../../pkgs/base-packages.nix
|
||||
../../modules/audiobookshelf.nix
|
||||
../../modules/matrix.nix
|
||||
# ../../modules/matrix.nix
|
||||
];
|
||||
|
||||
networking.hostName = "dalinar"; # Define your hostname.
|
||||
|
@ -49,7 +49,13 @@
|
|||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
};
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
# daemon.settings = {
|
||||
# experimental = true;
|
||||
# ip6tables = true;
|
||||
# };
|
||||
};
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
|
@ -333,15 +339,29 @@
|
|||
reverse_proxy http://127.0.0.1:8085
|
||||
'';
|
||||
};
|
||||
# virtualHosts = {
|
||||
# "mail.cochrun.xyz".extraConfig = ''
|
||||
# '';
|
||||
# };
|
||||
virtualHosts = {
|
||||
"inv.cochrun.xyz".extraConfig = ''
|
||||
reverse_proxy http://127.0.0.1:3000
|
||||
'';
|
||||
};
|
||||
virtualHosts = {
|
||||
"mail.cochrun.xyz".extraConfig = ''
|
||||
tls internal {
|
||||
key_type rsa2048
|
||||
}
|
||||
respond "Hello DMS"
|
||||
'' ;
|
||||
};
|
||||
virtualHosts = {
|
||||
"jelly.cochrun.xyz".extraConfig = ''
|
||||
reverse_proxy localhost:8096
|
||||
'';
|
||||
};
|
||||
virtualHosts = {
|
||||
"tubesync.cochrun.xyz".extraConfig = ''
|
||||
reverse_proxy localhost:4848
|
||||
'';
|
||||
};
|
||||
#virtualHosts = {
|
||||
# "livingseedco.shop".extraConfig = ''
|
||||
# reverse_proxy localhost:8282
|
||||
|
@ -479,6 +499,7 @@
|
|||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
networking.firewall.enable = false;
|
||||
networking.enableIPv6 = true;
|
||||
|
||||
# Copy the NixOS configuration file and link it from the resulting system
|
||||
# (/run/current-system/configuration.nix). This is useful in case you
|
||||
|
|
Loading…
Reference in a new issue