nixpkgs-fmt

This commit is contained in:
Grigory Shipunov 2023-05-01 15:17:31 +02:00
parent bdeff3c16d
commit e867ab195e
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
3 changed files with 27 additions and 26 deletions

View file

@ -21,32 +21,32 @@
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
extraConfig = '' extraConfig = ''
client_max_body_size 512M; client_max_body_size 512M;
''; '';
locations = { locations = {
"/" = { "/" = {
proxyPass = "http://10.34.45.100:8080"; proxyPass = "http://10.34.45.100:8080";
}; };
"/well-known/carddav" = { "/well-known/carddav" = {
return = "301 $scheme://$host/remote.php/dav"; return = "301 $scheme://$host/remote.php/dav";
}; };
"/well-known/caldav" = { "/well-known/caldav" = {
return = "301 $scheme://$host/remote.php/dav"; return = "301 $scheme://$host/remote.php/dav";
};
}; };
}; };
};
"music.oxapentane.com" = { "music.oxapentane.com" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
extraConfig = '' extraConfig = ''
client_max_body_size 32M; client_max_body_size 32M;
''; '';
locations = { locations = {
"/" = { "/" = {
proxyPass = "http://10.34.45.101:4533"; proxyPass = "http://10.34.45.101:4533";
};
}; };
}; };
}; };
};
} }

View file

@ -11,12 +11,14 @@
DHCPServer = false; DHCPServer = false;
IPv6SendRA = true; IPv6SendRA = true;
}; };
addresses = [{ addresses = [
addressConfig.Address = "10.99.99.1/24"; {
} addressConfig.Address = "10.99.99.1/24";
{ }
addressConfig.Address = "fd12:3456:789a::1/64"; {
}]; addressConfig.Address = "fd12:3456:789a::1/64";
}
];
ipv6Prefixes = [{ ipv6Prefixes = [{
ipv6PrefixConfig.Prefix = "fd12:3456:789a::/64"; ipv6PrefixConfig.Prefix = "fd12:3456:789a::/64";
}]; }];

View file

@ -1,5 +1,4 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(rWrapper.override { (rWrapper.override {