treewide: Perform another nitpicking sweep
This commit is contained in:
parent
d7fcf2a15a
commit
9b5a068795
|
@ -71,7 +71,7 @@
|
||||||
domain = "tlater.net";
|
domain = "tlater.net";
|
||||||
|
|
||||||
virtualHosts = let
|
virtualHosts = let
|
||||||
host = port: extra:
|
proxyPassToPort = port: extra:
|
||||||
lib.recursiveUpdate {
|
lib.recursiveUpdate {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
@ -83,9 +83,9 @@
|
||||||
extra;
|
extra;
|
||||||
domain = config.services.nginx.domain;
|
domain = config.services.nginx.domain;
|
||||||
in {
|
in {
|
||||||
"${domain}" = host 3002 {serverAliases = ["www.${domain}"];};
|
"${domain}" = proxyPassToPort 3002 {serverAliases = ["www.${domain}"];};
|
||||||
"gitea.${domain}" = host 3000 {};
|
"gitea.${domain}" = proxyPassToPort 3000 {};
|
||||||
"nextcloud.${domain}" = host 3001 {};
|
"nextcloud.${domain}" = proxyPassToPort 3001 {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,4 @@
|
||||||
{
|
{...}: {
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
# Required for the lish console
|
# Required for the lish console
|
||||||
boot.kernelParams = ["console=ttyS0,19200n8"];
|
boot.kernelParams = ["console=ttyS0,19200n8"];
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
{lib, ...}:
|
{lib, ...}: let
|
||||||
with lib; {
|
inherit (lib) mkOption types;
|
||||||
imports = [./virtualisation/pods.nix];
|
in {
|
||||||
|
options.services.nginx.domain = lib.mkOption {
|
||||||
options.services.nginx.domain = mkOption {
|
type = lib.types.str;
|
||||||
type = types.str;
|
|
||||||
description = "The base domain name to append to virtual domain names";
|
description = "The base domain name to append to virtual domain names";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue