Add comments

This commit is contained in:
Greg Hellings
2024-04-22 01:38:32 -05:00
parent 0eea0f4380
commit 6b2b3017e8
+12 -8
View File
@@ -28,6 +28,7 @@
perSystem = { config, pkgs, self', ... }: let
lib = pkgs.lib;
in {
# https://numtide.github.io/devshell/intro.html
devshells.default = {
commands = [
{
@@ -47,6 +48,7 @@
];
};
# This is not special, this is just flakes
packages = {
default = pkgs.dockerTools.buildLayeredImage {
name = "gregs-homepage";
@@ -106,6 +108,7 @@
'';
};
# https://community.flake.parts/process-compose-flake
process-compose = {
dev-server.settings.processes = {
hugo.command = "${lib.getExe pkgs.hugo} serve";
@@ -123,23 +126,24 @@
};
};
# https://numtide.github.io/treefmt/
treefmt.config = {
inherit (config.flake-root) projectRootFile;
package = pkgs.treefmt;
programs = {
deadnix.enable = true;
#mdformat.enable = false;
mdformat.enable = false;
};
settings.formatter = {
#mdformat = {
# includes = pkgs.lib.mkForce [
# "archtypes/*.md"
# "content/*.md"
# "public/*.md"
# ];
#};
mdformat = {
includes = pkgs.lib.mkForce [
"archtypes/*.md"
"content/*.md"
"public/*.md"
];
};
};
};
};