fix(oracle): typo
This commit is contained in:
parent
f65babd85a
commit
646d15f8ee
@ -1,4 +1,9 @@
|
|||||||
{ pkgs, config, lib, ... }: {
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
@ -63,14 +68,12 @@
|
|||||||
# Services
|
# Services
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package =
|
package = let
|
||||||
let
|
|
||||||
caddyWithPlugins = builtins.fetchurl {
|
caddyWithPlugins = builtins.fetchurl {
|
||||||
url = "https://raw.githubusercontent.com/jpds/nixpkgs/a33b02fa9d664f31dadc8a874eb1a5dbaa9f4ecf/pkgs/servers/caddy/default.nix";
|
url = "https://raw.githubusercontent.com/jpds/nixpkgs/a33b02fa9d664f31dadc8a874eb1a5dbaa9f4ecf/pkgs/servers/caddy/default.nix";
|
||||||
sha256 = "sha256:1x1g6qyhmclz2jyc5nmfjsri3xx4pw5rd15n2xjkxlgdcvywcv5f";
|
sha256 = "sha256:1x1g6qyhmclz2jyc5nmfjsri3xx4pw5rd15n2xjkxlgdcvywcv5f";
|
||||||
};
|
};
|
||||||
in
|
in (pkgs.callPackage "${caddyWithPlugins}" {
|
||||||
(pkgs.callPackage "${caddyWithPlugins}" {
|
|
||||||
externalPlugins = [
|
externalPlugins = [
|
||||||
{
|
{
|
||||||
name = "greenpau/caddy-security";
|
name = "greenpau/caddy-security";
|
||||||
@ -84,7 +87,7 @@
|
|||||||
email michaelhthomas@outlook.com
|
email michaelhthomas@outlook.com
|
||||||
'';
|
'';
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"s.michaelt.xyx".extraConfig = ''
|
"s.michaelt.xyz".extraConfig = ''
|
||||||
respond "Coming soon!"
|
respond "Coming soon!"
|
||||||
'';
|
'';
|
||||||
"auth.s.michaelt.xyz".extraConfig = ''
|
"auth.s.michaelt.xyz".extraConfig = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user