feat(github): add auto-conventional-commit hook with opencode integration
CI / Flake check (aarch64-linux) (push) Successful in 1m30s
CI / Flake check (x86_64-linux) (push) Successful in 1m17s
CI / Pre-commit checks (x86_64-linux) (push) Failing after 19s

- Add prepare-commit-msg git hook that generates conventional commit messages
- Modularize fish configuration with separate conf.d files
- Convert configuration files from .text to .source format for structured data
- Add sops-nix SOPS configuration with explicit secret definitions
- Upgrade age identity to single key file management approach
- Add system activation script for age key management
- Generate .sops.yaml for SOPS creation rules
- Restructure README.md with improved table and cleaner formatting
- Refactor config files to use pkgs.formats.json/toml generators
- Implement YAML format for ashell and walker service configurations
- Update SSH config source to use sops secrets
- Convert zed and other config files to use structured .source format
This commit is contained in:
2026-07-12 17:55:52 +02:00
parent 5116faf0d3
commit 205a1ccc8f
22 changed files with 581 additions and 443 deletions
+4 -3
View File
@@ -31,12 +31,13 @@
'';
configFile = "opencode/config.json";
tuiFile = "opencode/tui.json";
toJSON = (pkgs.formats.json {}).generate;
in {
users.users.someone.packages = [
opencodeWrapped
];
xdg.configFile = {
"${configFile}".text = builtins.toJSON {
"${configFile}".source = toJSON "config.json" {
"$schema" = "https://opencode.ai/config.json";
plugin = [
"opencode-antigravity-auth@latest"
@@ -118,7 +119,7 @@ in {
provider = providers.config;
};
"opencode/oh-my-openagent.json".text = builtins.toJSON {
"opencode/oh-my-openagent.json".source = toJSON "oh-my-openagent.json" {
"$schema" = "https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/master/assets/oh-my-opencode.schema.json";
agents = {
"sisyphus-junior" = {model = "opencode/nemotron-3-super-free";};
@@ -134,7 +135,7 @@ in {
};
};
"${tuiFile}".text = builtins.toJSON {
"${tuiFile}".source = toJSON "tui.json" {
"$schema" = "https://opencode.ai/tui.json";
theme = "gruvbox";
};