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