chore(flake): add embedme to dev shell and pre-commit hooks

Keeps README code blocks in sync with source files (config.example.toml, dist/musicfs.service) on every commit.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/claude-agent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
Alexander
2026-05-18 13:43:08 +02:00
parent 61457e1f89
commit 154f85bd9b
+11
View File
@@ -31,6 +31,15 @@
clippy = pkgs.clippy; clippy = pkgs.clippy;
}; };
}; };
embedme = {
enable = true;
name = "embedme";
description = "Keep README code blocks in sync with source files";
entry = "${pkgs.nodePackages.embedme}/bin/embedme";
args = [ "README.md" ];
pass_filenames = false;
language = "system";
};
}; };
}; };
in { in {
@@ -73,6 +82,8 @@
protobuf protobuf
grpcurl grpcurl
nodePackages.embedme
]; ];
}; };
}); });