Files
Seong Yong-ju 80ab64bb79 vscode: add dedicated modules for VSCode forks
Add standalone modules for Antigravity, Cursor, Kiro, VSCodium, and
Windsurf using the mkVscodeModule factory. Each module provides its own
programs.<name> option namespace, allowing multiple VSCode-based editors
to be configured simultaneously.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-03 18:50:49 -05:00

42 lines
875 B
Nix

{ pkgs, ... }:
let
package = pkgs.writeScriptBin "antigravity" "" // {
pname = "antigravity";
version = "1.11.14";
};
in
{
antigravity-paths =
{
pkgs,
...
}:
let
argvPath = ".antigravity/argv.json";
settingsPath =
if pkgs.stdenv.hostPlatform.isDarwin then
"Library/Application Support/Antigravity/User/settings.json"
else
".config/Antigravity/User/settings.json";
in
{
programs.antigravity = {
enable = true;
inherit package;
argvSettings.enable-crash-reporter = false;
profiles.default = {
enableUpdateCheck = false;
enableExtensionUpdateCheck = false;
};
};
nmt.script = ''
assertFileExists "home-files/${argvPath}"
assertFileExists "home-files/${settingsPath}"
'';
};
}