1
1

Run 'nix fmt' on whole repo
All checks were successful
Gitea Actions Demo / build-site (push) Successful in 4s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
2026-01-03 20:47:42 -05:00
parent a1e8f6b69b
commit 9b77159110
10 changed files with 60 additions and 74 deletions

View File

@@ -1,14 +1,11 @@
{ pkgs, ... }:
let
{pkgs, ...}: let
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love";
in
{
in {
services.caddy = {
enable = true;
virtualHosts = {
"cutesealfanpage.love" = {
serverAliases = [ "www.cutesealfanpage.love" ];
serverAliases = ["www.cutesealfanpage.love"];
extraConfig = ''
root * ${PROJECT_ROOT}/_site
file_server
@@ -21,7 +18,7 @@ in
cutesealfanpage-hakyll-site = {
enable = true;
description = "The hakyll executable that rebuilds the site when a new blog post is created.";
path = with pkgs; [ nix git ];
path = with pkgs; [nix git];
script = ''
cd ${PROJECT_ROOT}
nix run .#hakyll-site -- watch --no-server
@@ -32,7 +29,7 @@ in
enable = true;
description = "The haskell script that creates the new post of the day.";
startAt = "08:12:42";
path = with pkgs; [ nix git ];
path = with pkgs; [nix git];
script = ''
cd ${PROJECT_ROOT}
nix run .#generateSealPosts