Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
muon 2025-01-12 17:37:37 +00:00
commit 7ac72649cd
6 changed files with 41 additions and 18 deletions

View file

@ -43,7 +43,6 @@ in {
mods.unfree.minecraft.enable = false;
# Hardware preferences
boot = {
tmp.cleanOnBoot = true;
bootspec.enable = true;
@ -61,6 +60,11 @@ in {
};
};
# Turn off screen-saver
environment.extraInit = ''
xset s off -dpms
'';
environment.variables = {
WINIT_HIDPI_FACTOR = "1";
WINIT_X11_SCALE_FACTOR = "1";

View file

@ -11,6 +11,7 @@
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
boot.supportedFilesystems = [ "ntfs" "btrfs" ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/29b32abb-ea5d-4cca-b506-3485d8df430c";

View file

@ -48,11 +48,23 @@ in {
root = "/var/www";
configuration = { general = { directory-listing = true; }; };
};
services.nginx.virtualHosts."muon.host" = {
enableACME = true;
forceSSL = true;
default = true;
locations."/" = { proxyPass = "http://localhost:8008"; };
services.nginx.virtualHosts = {
"muon.host" = {
enableACME = true;
forceSSL = true;
default = true;
locations."/" = { proxyPass = "http://localhost:8008"; };
};
"tetterodesportcomplex.nl" = {
enableACME = true;
forceSSL = true;
locations."/" = { proxyPass = "http://10.0.0.3:5001"; };
};
"www.tetterodesportcomplex.nl" = {
enableACME = true;
forceSSL = true;
locations."/" = { proxyPass = "http://10.0.0.3:5001"; };
};
};
# Enable the OpenSSH daemon.