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