diff options
Diffstat (limited to 'nixosConfigurations')
-rw-r--r-- | nixosConfigurations/eonwe/default.nix | 7 | ||||
-rw-r--r-- | nixosConfigurations/manwe/webserver.nix | 35 |
2 files changed, 23 insertions, 19 deletions
diff --git a/nixosConfigurations/eonwe/default.nix b/nixosConfigurations/eonwe/default.nix index 2c53b64..5de3315 100644 --- a/nixosConfigurations/eonwe/default.nix +++ b/nixosConfigurations/eonwe/default.nix @@ -16,7 +16,7 @@ with lib; { games = { lutris.enable = true; - minecraft.client.enable = true; + # minecraft.client.enable = true; # FIXME Build fails. steam.enable = true; steam-run.quirks.crusaderKings3 = true; }; @@ -36,14 +36,12 @@ with lib; { burpsuite gzdoom kdenlive - nikto obs-studio openmw openttd radeontop vcmi whatweb - zap ]; programs = { @@ -104,6 +102,9 @@ with lib; { "clearcpuid=514" ]; + # https://wiki.archlinux.org/title/improving_performance#Watchdogs + blacklistedKernelModules = ["sp5100_tco"]; + # The boot drive is Samsung SSD 980 PRO 2TB. initrd.kernelModules = ["nvme"]; diff --git a/nixosConfigurations/manwe/webserver.nix b/nixosConfigurations/manwe/webserver.nix index 4dded7e..f07d545 100644 --- a/nixosConfigurations/manwe/webserver.nix +++ b/nixosConfigurations/manwe/webserver.nix @@ -4,20 +4,23 @@ ... }: with lib; { - nixfiles.modules.nginx.virtualHosts = with my.domain; - { - ${shire}.locations."/".return = "301 https://www.youtube.com/watch?v=dQw4w9WgXcQ"; - "git.${shire}".locations."/".return = "301 https://git.${azahi}"; - "bitwarden.${shire}".locations."/".return = "301 https://vaultwarden.${shire}"; - ${azahi} = { - serverAliases = ["frodo.${gondor}" "frodo.${rohan}"]; - locations."/".root = inputs.azahi-cc; - }; - } - // (let - frodo = "301 https://frodo."; - in { - ${gondor}.locations."/".return = concatStrings [frodo gondor]; - ${rohan}.locations."/".return = concatStrings [frodo rohan]; - }); + nixfiles.modules.nginx = { + enable = true; + virtualHosts = with my.domain; + { + ${shire}.locations."/".return = "301 https://www.youtube.com/watch?v=dQw4w9WgXcQ"; + "git.${shire}".locations."/".return = "301 https://git.${azahi}"; + "bitwarden.${shire}".locations."/".return = "301 https://vaultwarden.${shire}"; + ${azahi} = { + serverAliases = ["frodo.${gondor}" "frodo.${rohan}"]; + locations."/".root = inputs.azahi-cc; + }; + } + // (let + frodo = "301 https://frodo."; + in { + ${gondor}.locations."/".return = concatStrings [frodo gondor]; + ${rohan}.locations."/".return = concatStrings [frodo rohan]; + }); + }; } |