Compare commits
3 Commits
fd071e9cdd
...
6f707d849d
Author | SHA1 | Date |
---|---|---|
Bill Ewanick | 6f707d849d | |
Bill Ewanick | 764a44fee7 | |
Bill Ewanick | 53201f9c4a |
|
@ -21,10 +21,7 @@ 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; [
|
path = with pkgs; [ nix git ];
|
||||||
nix
|
|
||||||
git
|
|
||||||
];
|
|
||||||
script = ''
|
script = ''
|
||||||
cd ${PROJECT_ROOT}
|
cd ${PROJECT_ROOT}
|
||||||
nix run .#hakyll-site -- watch --no-server
|
nix run .#hakyll-site -- watch --no-server
|
||||||
|
@ -35,10 +32,7 @@ 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; [
|
path = with pkgs; [ nix git ];
|
||||||
nix
|
|
||||||
git
|
|
||||||
];
|
|
||||||
script = ''
|
script = ''
|
||||||
cd ${PROJECT_ROOT}
|
cd ${PROJECT_ROOT}
|
||||||
nix run .#generateSealPosts
|
nix run .#generateSealPosts
|
||||||
|
|
|
@ -2,10 +2,14 @@
|
||||||
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
|
||||||
./fancytypist.com.nix
|
|
||||||
./git.ewanick.com.nix
|
./git.ewanick.com.nix
|
||||||
|
./paperless.ewanick.com.nix
|
||||||
|
|
||||||
|
./fancytypist.com.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# when in doubt, clear away the certs with
|
# when in doubt, clear away the certs with
|
||||||
|
|
|
@ -22,10 +22,7 @@ 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; [
|
path = with pkgs; [ nix git ];
|
||||||
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 \
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ 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