refactor: nix fmt classic to nix fmt

This commit is contained in:
Rasyidan Akbar F. 2026-01-30 15:59:48 +07:00
commit f9614371a3
57 changed files with 923 additions and 493 deletions

View file

@ -8,15 +8,17 @@ let
'';
# Generate MCP configs for GUI applications
mcpConfigForGUI = pkgs.writeText "mcp_settings.json" (builtins.toJSON {
mcpServers = {
nixos = {
type = "stdio";
command = "${mcpNixosWrapper}/bin/mcp-nixos-wrapper";
args = [ ];
mcpConfigForGUI = pkgs.writeText "mcp_settings.json" (
builtins.toJSON {
mcpServers = {
nixos = {
type = "stdio";
command = "${mcpNixosWrapper}/bin/mcp-nixos-wrapper";
args = [ ];
};
};
};
});
}
);
# Script to install MCP configs for Claude Code and Codex
installMcpConfigs = pkgs.writeShellScriptBin "install-mcp-configs" ''
@ -83,12 +85,13 @@ let
"$out_link/bin/nvim" "$@"
'';
in pkgs.mkShell {
in
pkgs.mkShell {
name = "default";
packages = with pkgs; [
git
nix
nixfmt-classic
nixfmt
uv
python3
mcpNixosWrapper