feat(github): add auto-conventional-commit hook with opencode integration
- 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:
@@ -5,7 +5,8 @@
|
||||
}: let
|
||||
configFile = "zed/settings.json";
|
||||
languageConfig = import ./_settings.nix {inherit pkgs lib;};
|
||||
settingsJSON = builtins.toJSON ({
|
||||
toJSON = (pkgs.formats.json {}).generate;
|
||||
settingsJSON = toJSON "settings.json" ({
|
||||
node = {
|
||||
path = "${pkgs.nodejs}/bin/node";
|
||||
npm_path = "${pkgs.nodejs}/bin/npm";
|
||||
@@ -145,7 +146,7 @@ in {
|
||||
zedWithLSP
|
||||
];
|
||||
xdg.configFile."${configFile}" = {
|
||||
text = settingsJSON;
|
||||
source = settingsJSON;
|
||||
mutable = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user