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
let
base-domain = "005540.xyz";
base-domain = "paperless-testing.hummingbird-stork.ts.net";
in
{ lib, ... }: {
imports = [
@ -36,7 +36,7 @@ in
boot.tmp.cleanOnBoot = true;
zramSwap.enable = true;
networking.hostName = "quasar";
networking.hostName = "paperless-testing";
users.users.root.initialPassword = "asunarovow";
networking.domain = "";
nix.allowedUsers = [ "@wheel" "root" ];

View file

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