some changes, redo nginx

This commit is contained in:
randomuser 2024-02-06 19:45:32 -06:00
parent 6e41fc9cca
commit 7408a90720
2 changed files with 9 additions and 5 deletions

View File

@ -340,8 +340,9 @@ in {
return 301 https://mail.beepboop.systems; return 301 https://mail.beepboop.systems;
''; '';
}; };
locations."~ \\.git" = { locations."~* ^(.*)\\.git(/.*)?$" = {
extraConfig = '' extraConfig = ''
set $modified_path $1$2;
client_max_body_size 0; client_max_body_size 0;
include ${pkgs.nginx}/conf/fastcgi_params; include ${pkgs.nginx}/conf/fastcgi_params;

View File

@ -40,10 +40,13 @@
services.getty.autologinUser = "usr"; services.getty.autologinUser = "usr";
boot.loader = { boot.loader = {
grub.timeoutStyle = "hidden"; grub = {
timeout = 0; timeoutStyle = "hidden";
grub.enable = true; enable = true;
grub.device = "/dev/sda"; device = "/dev/sda";
splashImage = null;
};
timeout = 1;
}; };
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;