Compare commits
3 Commits
6a5514c2ee
...
23e5af1ad4
Author | SHA1 | Date |
---|---|---|
Bill Ewanick | 23e5af1ad4 | |
Bill Ewanick | 3a6300f733 | |
Bill Ewanick | 72f23837e3 |
|
@ -1,7 +1,7 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
PROJECT_ROOT = /workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love;
|
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
|
|
|
@ -14,4 +14,6 @@
|
||||||
security.acme.defaults.email = "admin@cutesealfanpage.love";
|
security.acme.defaults.email = "admin@cutesealfanpage.love";
|
||||||
# uncomment this to use the staging server
|
# uncomment this to use the staging server
|
||||||
# security.acme.server = "https://acme-staging-v02.api.letsencrypt.org/directory";
|
# security.acme.server = "https://acme-staging-v02.api.letsencrypt.org/directory";
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
PROJECT_ROOT = /workspace/deployed-nixos-server-and-apps/nixos-apps/ewanick.com;
|
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/ewanick.com";
|
||||||
PORT = "5567";
|
PORT = "5567";
|
||||||
HOST = "localhost";
|
HOST = "localhost";
|
||||||
in
|
in
|
||||||
|
@ -21,7 +21,7 @@ in
|
||||||
systemd.services = {
|
systemd.services = {
|
||||||
ewanick-site = {
|
ewanick-site = {
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "The hakyll executable that rebuilds the site when a new blog post is created.";
|
description = "A blog powered by Emanote running solely on Markdown files.";
|
||||||
path = with pkgs; [
|
path = with pkgs; [
|
||||||
nix
|
nix
|
||||||
git
|
git
|
||||||
|
|
|
@ -19,18 +19,4 @@
|
||||||
|
|
||||||
services.jitsi-videobridge.enable = false;
|
services.jitsi-videobridge.enable = false;
|
||||||
services.jitsi-videobridge.openFirewall = false;
|
services.jitsi-videobridge.openFirewall = false;
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
||||||
# security.acme.email = "me@example.com";
|
|
||||||
# security.acme.acceptTerms = true;
|
|
||||||
|
|
||||||
# services.caddy = {
|
|
||||||
# enable = true;
|
|
||||||
# virtualHosts = {
|
|
||||||
# "git.ewanick.com" = {
|
|
||||||
# extraConfig = ''
|
|
||||||
# reverse_proxy localhost:3000
|
|
||||||
# '';
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue