Run 'nix fmt' on whole repo
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
{pkgs, ...}: let
|
||||
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love";
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"cutesealfanpage.love" = {
|
||||
serverAliases = [ "www.cutesealfanpage.love" ];
|
||||
serverAliases = ["www.cutesealfanpage.love"];
|
||||
extraConfig = ''
|
||||
root * ${PROJECT_ROOT}/_site
|
||||
file_server
|
||||
@@ -21,7 +18,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
|
||||
@@ -32,7 +29,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
|
||||
|
||||
Reference in New Issue
Block a user