Add comments
This commit is contained in:
@@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user