This commit is contained in:
2026-01-05 12:53:38 +03:00
parent b6ea091e38
commit e4053b5943
3 changed files with 10 additions and 46 deletions
-23
View File
@@ -1,23 +0,0 @@
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
fileSystems = {
"/" = {
device = lib.mkForce "/dev/disk/by-partlabel/disk-main-root"; # "/dev/disk/by-partlabel/disk-main-root";
fsType = "ext4";
};
};
# swapDevices = [
# { device = "/dev/disk/by-partlabel/disk-main-swap"; }
# ];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
-1
View File
@@ -40,7 +40,6 @@
device = "/dev/disk/by-partlabel/disk-main-ESP"; device = "/dev/disk/by-partlabel/disk-main-ESP";
fsType = "vfat"; fsType = "vfat";
options = [ options = [
# maybe 700?
"fmask=0022" "fmask=0022"
"dmask=0022" "dmask=0022"
]; ];
+10 -22
View File
@@ -35,7 +35,6 @@ in
"kuma.zeroq.ru" = { "kuma.zeroq.ru" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
# kTLS = true;
locations."/" = { locations."/" = {
proxyPass = "http://${server}:4001"; proxyPass = "http://${server}:4001";
proxyWebsockets = true; proxyWebsockets = true;
@@ -56,21 +55,19 @@ in
# client_max_body_size 5G; # client_max_body_size 5G;
# ''; # '';
# }; # };
"zeroq.ru" = { # "zeroq.ru" = {
forceSSL = true; # forceSSL = true;
enableACME = true; # enableACME = true;
# kTLS = true; # locations."/.well-known/discord" = {
locations."/.well-known/discord" = { # extraConfig = ''
extraConfig = '' # default_type text/plain;
default_type text/plain; # return 200 "dh=c2d103553a4cfdaa1b7952a87a7d8120a1e167cc";
return 200 "dh=c2d103553a4cfdaa1b7952a87a7d8120a1e167cc"; # '';
''; # };
}; # };
};
"flux.zeroq.ru" = { "flux.zeroq.ru" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
# kTLS = true;
locations."/" = { locations."/" = {
proxyPass = "http://${server}:6061"; proxyPass = "http://${server}:6061";
proxyWebsockets = true; proxyWebsockets = true;
@@ -82,7 +79,6 @@ in
"office.zeroq.ru" = { "office.zeroq.ru" = {
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
# kTLS = true;
locations = { locations = {
"/" = { "/" = {
proxyPass = "http://${server}:9980"; # API и coauthoring proxyPass = "http://${server}:9980"; # API и coauthoring
@@ -99,7 +95,6 @@ in
"immich.zeroq.ru" = { "immich.zeroq.ru" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
# kTLS = true;
locations."/" = { locations."/" = {
proxyPass = "http://${server}:2283"; proxyPass = "http://${server}:2283";
proxyWebsockets = true; proxyWebsockets = true;
@@ -111,7 +106,6 @@ in
"nextcloud.zeroq.ru" = { "nextcloud.zeroq.ru" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
# kTLS = true;
locations = { locations = {
"/" = { "/" = {
proxyPass = "http://${server}:10000"; proxyPass = "http://${server}:10000";
@@ -121,10 +115,6 @@ in
proxyPass = "http://${server}:3002"; proxyPass = "http://${server}:3002";
proxyWebsockets = true; proxyWebsockets = true;
}; };
# "/onlyoffice" = {
# proxyPass = "http://${server}:8000";
# proxyWebsockets = true;
# };
}; };
extraConfig = '' extraConfig = ''
client_max_body_size 5G; client_max_body_size 5G;
@@ -133,7 +123,6 @@ in
"calibre.zeroq.ru" = { "calibre.zeroq.ru" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
# kTLS = true;
locations."/" = { locations."/" = {
proxyPass = "http://${server}:8083"; proxyPass = "http://${server}:8083";
proxyWebsockets = true; proxyWebsockets = true;
@@ -145,7 +134,6 @@ in
"pdf.zeroq.ru" = { "pdf.zeroq.ru" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
# kTLS = true;
locations."/" = { locations."/" = {
proxyPass = "http://${server}:6060"; proxyPass = "http://${server}:6060";
proxyWebsockets = true; proxyWebsockets = true;