1
1
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Bill Ewanick 76c5ed8988 Enable fancytypist.dev 2025-07-20 20:27:14 -04:00
Bill Ewanick 8d80823e1c Add note about flake-parts 2025-07-20 20:27:01 -04:00
2 changed files with 15 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{ {
description = "System flake for Linode NixOS server"; description = "System flake for Linode NixOS server";
# Want to convert this to Flake Parts flake so I can use their special features
nixConfig = { nixConfig = {
extra-substituters = "https://srid.cachix.org"; extra-substituters = "https://srid.cachix.org";
extra-trusted-public-keys = "srid.cachix.org-1:3clnql5gjbJNEvhA/WQp7nrZlBptwpXnUk6JAv8aB2M="; extra-trusted-public-keys = "srid.cachix.org-1:3clnql5gjbJNEvhA/WQp7nrZlBptwpXnUk6JAv8aB2M=";

View File

@ -35,12 +35,12 @@ in
''; '';
}; };
# "fancytypist.dev" = { "fancytypist.dev" = {
# serverAliases = [ "www.fancytypist.dev" ]; serverAliases = [ "www.fancytypist.dev" ];
# extraConfig = '' extraConfig = ''
# reverse_proxy ${HOST}:${toString PORT} reverse_proxy ${HOST}:${toString PORT}
# ''; '';
# }; };
}; };
}; };
@ -48,7 +48,10 @@ in
fancyTypistDotDev-site = { fancyTypistDotDev-site = {
enable = false; enable = false;
description = "The Haskell Servant executable server that hosts my FancyTypist.dev site."; description = "The Haskell Servant executable server that hosts my FancyTypist.dev site.";
path = with pkgs; [ nix git ]; path = with pkgs; [
nix
git
];
script = '' script = ''
cd ${PROJECT_ROOT} cd ${PROJECT_ROOT}
nix run .#fancyTypistDotDev-site nix run .#fancyTypistDotDev-site
@ -58,7 +61,10 @@ in
osdsFancyTypistSubdomain-site = { osdsFancyTypistSubdomain-site = {
enable = true; enable = true;
description = "Emanote site running the OSDS content."; description = "Emanote site running the OSDS content.";
path = with pkgs; [ nix git ]; path = with pkgs; [
nix
git
];
script = '' script = ''
cd ${PROJECT_ROOT} cd ${PROJECT_ROOT}
nix run .#osdsFancyTypistSubdomain-site nix run .#osdsFancyTypistSubdomain-site