1
Fork 0

Add website

This commit is contained in:
prescientmoon 2025-03-03 23:11:41 +01:00
parent 7025ea882f
commit 4a7a3496e3
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
5 changed files with 33 additions and 2 deletions

View file

@ -67,6 +67,8 @@
shimmeringmoon.inputs.shimmeringdarkness.follows = "shimmeringdarkness"; shimmeringmoon.inputs.shimmeringdarkness.follows = "shimmeringdarkness";
shimmeringmoon.url = "git+ssh://forgejo@ssh.git.moonythm.dev/prescientmoon/shimmeringmoon.git"; shimmeringmoon.url = "git+ssh://forgejo@ssh.git.moonythm.dev/prescientmoon/shimmeringmoon.git";
moonythm.inputs.nixpkgs.follows = "nixpkgs";
moonythm.url = "git+ssh://forgejo@ssh.git.moonythm.dev/prescientmoon/moonythm.git";
# }}} # }}}
# {{{ Theming # {{{ Theming
darkmatter-grub-theme.url = "gitlab:VandalByte/darkmatter-grub-theme"; darkmatter-grub-theme.url = "gitlab:VandalByte/darkmatter-grub-theme";

View file

@ -29,6 +29,7 @@
./services/jellyfin.nix ./services/jellyfin.nix
./services/jupyter.nix ./services/jupyter.nix
./services/microbin.nix ./services/microbin.nix
./services/moonythm.nix.nix
./services/pounce.nix ./services/pounce.nix
./services/prometheus.nix ./services/prometheus.nix
./services/prometheus.nix ./services/prometheus.nix

View file

@ -1,5 +1,6 @@
# I couldn't find a hosted version of this # I couldn't find a hosted version of this
{ pkgs, config, ... }: { { pkgs, ... }:
{
satellite.nginx.at.diptime.files = pkgs.fetchFromGitHub { satellite.nginx.at.diptime.files = pkgs.fetchFromGitHub {
owner = "bhickey"; owner = "bhickey";
repo = "diplomatic-timekeeper"; repo = "diplomatic-timekeeper";

View file

@ -0,0 +1,27 @@
{
inputs,
pkgs,
...
}:
let
dir = inputs.moonythm.packages.${pkgs.system}.moonythm;
in
{
satellite.cloudflared.at."".port = 8080;
satellite.nginx.at."".files = dir;
services.nginx.virtualHosts."".extraConfig = ''
root ${dir};
error_page 404 /404.html;
proxy_intercept_errors on;
location / {
index index.html;
try_files $uri $uri.html $uri/ =404;
}
location = /404.html {
internal;
}
'';
}

View file

@ -1,4 +1,4 @@
{ config, ... }: { ... }:
{ {
# {{{ Zfs config # {{{ Zfs config
services.zfs = { services.zfs = {