1
1
Fork 0

Compare commits

..

3 Commits

Author SHA1 Message Date
Bill Ewanick 6f707d849d Add paperless-ngx service 2023-10-07 18:50:52 -04:00
Bill Ewanick 764a44fee7 Re-arrange based on top-level domain 2023-10-07 18:49:12 -04:00
Bill Ewanick 53201f9c4a Condense path list 2023-10-07 18:41:18 -04:00
4 changed files with 29 additions and 13 deletions

View File

@ -21,10 +21,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
@ -35,10 +32,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

View File

@ -2,10 +2,14 @@
imports = [
./crueltysquad.com.nix
./jitsi.crueltysquad.com.nix
./cutesealfanpage.love.nix
./ewanick.com.nix
./fancytypist.com.nix
./git.ewanick.com.nix
./paperless.ewanick.com.nix
./fancytypist.com.nix
];
# when in doubt, clear away the certs with

View File

@ -22,10 +22,7 @@ in
ewanick-site = {
enable = true;
description = "A blog powered by Emanote running solely on Markdown files.";
path = with pkgs; [
nix
git
];
path = with pkgs; [ nix git ];
script = ''
cd ${PROJECT_ROOT}
nix run github:srid/emanote --accept-flake-config \

View File

@ -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
'';
};
};
};
}