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 = { 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

View File

@ -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

View File

@ -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 \

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