Compare commits
No commits in common. "6f707d849d666c0ba4d71fd4a59e0517655e5ddc" and "fd071e9cddf7034bcf86daefbaf8b0a14e34fa4b" have entirely different histories.
6f707d849d
...
fd071e9cdd
|
@ -21,7 +21,10 @@ in
|
||||||
cutesealfanpage-hakyll-site = {
|
cutesealfanpage-hakyll-site = {
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "The hakyll executable that rebuilds the site when a new blog post is created.";
|
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 = ''
|
script = ''
|
||||||
cd ${PROJECT_ROOT}
|
cd ${PROJECT_ROOT}
|
||||||
nix run .#hakyll-site -- watch --no-server
|
nix run .#hakyll-site -- watch --no-server
|
||||||
|
@ -32,7 +35,10 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "The haskell script that creates the new post of the day.";
|
description = "The haskell script that creates the new post of the day.";
|
||||||
startAt = "08:12:42";
|
startAt = "08:12:42";
|
||||||
path = with pkgs; [ nix git ];
|
path = with pkgs; [
|
||||||
|
nix
|
||||||
|
git
|
||||||
|
];
|
||||||
script = ''
|
script = ''
|
||||||
cd ${PROJECT_ROOT}
|
cd ${PROJECT_ROOT}
|
||||||
nix run .#generateSealPosts
|
nix run .#generateSealPosts
|
||||||
|
|
|
@ -2,14 +2,10 @@
|
||||||
imports = [
|
imports = [
|
||||||
./crueltysquad.com.nix
|
./crueltysquad.com.nix
|
||||||
./jitsi.crueltysquad.com.nix
|
./jitsi.crueltysquad.com.nix
|
||||||
|
|
||||||
./cutesealfanpage.love.nix
|
./cutesealfanpage.love.nix
|
||||||
|
|
||||||
./ewanick.com.nix
|
./ewanick.com.nix
|
||||||
./git.ewanick.com.nix
|
|
||||||
./paperless.ewanick.com.nix
|
|
||||||
|
|
||||||
./fancytypist.com.nix
|
./fancytypist.com.nix
|
||||||
|
./git.ewanick.com.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# when in doubt, clear away the certs with
|
# when in doubt, clear away the certs with
|
||||||
|
|
|
@ -22,7 +22,10 @@ in
|
||||||
ewanick-site = {
|
ewanick-site = {
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "A blog powered by Emanote running solely on Markdown files.";
|
description = "A blog powered by Emanote running solely on Markdown files.";
|
||||||
path = with pkgs; [ nix git ];
|
path = with pkgs; [
|
||||||
|
nix
|
||||||
|
git
|
||||||
|
];
|
||||||
script = ''
|
script = ''
|
||||||
cd ${PROJECT_ROOT}
|
cd ${PROJECT_ROOT}
|
||||||
nix run github:srid/emanote --accept-flake-config \
|
nix run github:srid/emanote --accept-flake-config \
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
let baseUrl = "paperless.ewanick.com";
|
|
||||||
in
|
|
||||||
{
|
|
||||||
services.paperless = {
|
|
||||||
enable = true;
|
|
||||||
address = "localhost";
|
|
||||||
port = "28981";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.caddy = {
|
|
||||||
enable = true;
|
|
||||||
virtualHosts = {
|
|
||||||
"${baseUrl}" = {
|
|
||||||
extraConfig = ''
|
|
||||||
reverse_proxy localhost:28981
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in New Issue