mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
7ac72649cd
6 changed files with 41 additions and 18 deletions
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue