Compare commits

...
Sign in to create a new pull request.

1 commit

2 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,6 @@
# vim: tabstop=2 shiftwidth=2 expandtab # vim: tabstop=2 shiftwidth=2 expandtab
let let
base-domain = "005540.xyz"; base-domain = "paperless-testing.hummingbird-stork.ts.net";
in in
{ lib, ... }: { { lib, ... }: {
imports = [ imports = [
@ -36,7 +36,7 @@ in
boot.tmp.cleanOnBoot = true; boot.tmp.cleanOnBoot = true;
zramSwap.enable = true; zramSwap.enable = true;
networking.hostName = "quasar"; networking.hostName = "paperless-testing";
users.users.root.initialPassword = "asunarovow"; users.users.root.initialPassword = "asunarovow";
networking.domain = ""; networking.domain = "";
nix.allowedUsers = [ "@wheel" "root" ]; nix.allowedUsers = [ "@wheel" "root" ];

View file

@ -6,9 +6,14 @@
recommendedOptimisation = true; recommendedOptimisation = true;
recommendedGzipSettings = true; recommendedGzipSettings = true;
recommendedProxySettings = true; recommendedProxySettings = true;
serverNamesHashBucketSize = 128;
virtualHosts = { virtualHosts = {
"${base-domain}" = { "${base-domain}" = {
enableACME = true; enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:28981";
};
}; };
"sourcehut.${base-domain}" = { "sourcehut.${base-domain}" = {
enableACME = true; enableACME = true;