Merge pull request #87 from DarkKirb/untrack-vscode
don’t use home-manager for vscode
This commit is contained in:
commit
e319e9c1eb
2 changed files with 1 additions and 453 deletions
|
@ -3,77 +3,7 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
mutableExtensionsDir = true;
|
||||
extensions = with pkgs.vscode-extensions;
|
||||
[
|
||||
rust-lang.rust-analyzer
|
||||
xaver.clang-format
|
||||
github.vscode-pull-request-github
|
||||
]
|
||||
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace (import ./extensions.nix).extensions;
|
||||
userSettings = {
|
||||
"diffEditor.codeLens" = true;
|
||||
"editor.bracketPairColorization.enabled" = true;
|
||||
"editor.cursorSmoothCaretAnimation" = true;
|
||||
"editor.cursorSurroundingLines" = 3;
|
||||
"editor.foldingImportsByDefault" = true;
|
||||
"editor.fontFamily" = "'FiraCode Nerd Font Mono', 'Noto Sans Mono CJK', monospace";
|
||||
"editor.fontLigatures" = true;
|
||||
"editor.formatOnPaste" = true;
|
||||
"editor.formatOnSave" = true;
|
||||
"editor.formatOnType" = true;
|
||||
"editor.guides.bracketPairs" = true;
|
||||
"editor.inlineSuggest.enabled" = true;
|
||||
"editor.renderWhitespace" = "all";
|
||||
"editor.smoothScrolling" = true;
|
||||
"editor.suggest.localityBonus" = true;
|
||||
"editor.suggest.preview" = true;
|
||||
"editor.suggest.shareSuggestSelections" = true;
|
||||
"editor.tabCompletion" = "on";
|
||||
"editor.tabSize" = 2;
|
||||
"editor.multiCursorModifier" = "ctrlCmd"; # Multi-Cursor won’t work otherwise
|
||||
"explorer.experimental.fileNesting.enabled" = true;
|
||||
"files.insertFinalNewline" = true;
|
||||
"files.trimFinalNewlines" = true;
|
||||
"files.trimTrailingWhitespace" = true;
|
||||
"git.autoStash" = true;
|
||||
"git.enableCommitSigning" = true;
|
||||
"git.enableSmartCommit" = true;
|
||||
"git.fetchOnPull" = true;
|
||||
"git.rebaseWhenSync" = true;
|
||||
"nix.enableLanguageServer" = true;
|
||||
"nix.serverPath" = "${pkgs.rnix-lsp}/bin/rnix-lsp";
|
||||
"search.smartCase" = true;
|
||||
"telemetry.telemetryLevel" = "off";
|
||||
"update.mode" = "none";
|
||||
"workbench.colorTheme" = "Monokai";
|
||||
"workbench.commandPalette.preserveInput" = true;
|
||||
"workbench.iconTheme" = "material-icon-theme";
|
||||
"workbench.list.smoothScrolling" = true;
|
||||
"C_Cpp.intelliSenseEngine" = "Disabled";
|
||||
"C_Cpp.autocomplete" = "Disabled";
|
||||
"C_Cpp.errorSquiggles" = "Disabled";
|
||||
"clang-tidy.executable" = "${pkgs.llvmPackages_latest.clang-unwrapped}/bin/clang-tidy";
|
||||
"cmake.cmakePath" = "${pkgs.cmake}/bin/cmake";
|
||||
"github.copilot.enable" = {"*" = true;};
|
||||
"crates.listPreReleases" = true;
|
||||
"css.format.spaceAroundSelectorSeparator" = true;
|
||||
"less.format.spaceAroundSelectorSeparator" = true;
|
||||
"scss.format.spaceAroundSelectorSeparator" = true;
|
||||
"vscode-dhall-lsp-server.executable" = "${pkgs.dhall-lsp-server}/bin/dhall-lsp-server";
|
||||
"doxdocgen.generic.useGitUserEmail" = true;
|
||||
"doxdocgen.generic.useGitUserName" = true;
|
||||
"git.confirmSync" = false;
|
||||
"clangd.path" = "${pkgs.llvmPackages_latest.clang-unwrapped}/bin/clangd";
|
||||
"verilog.ctags.path" = "${pkgs.ctags}/bin/ctags";
|
||||
"verilog.languageServer" = "${pkgs.svls}/bin/svls";
|
||||
"verilog.linting.linter" = "${pkgs.verilator}/bin/verilator";
|
||||
"redhat.telemetry.enabled" = false; # FUCK OFF
|
||||
"projectManager.git.baseFolders" = ["/home/darkkirb/sources"];
|
||||
};
|
||||
};
|
||||
home.packages = [pkgs.vscode];
|
||||
home.activation.vscode-server = lib.hm.dag.entryAfter ["write-boundary"] ''
|
||||
if test -f ~/.vscode-server; then
|
||||
if test -f "~/.vscode/extensions"; then
|
||||
|
|
|
@ -1,382 +0,0 @@
|
|||
{
|
||||
extensions = [
|
||||
{
|
||||
name = "vscode-openapi";
|
||||
publisher = "42Crunch";
|
||||
version = "4.15.8";
|
||||
sha256 = "0rgyp7ank0np89wq4x7qv8r5x3sgqmh7yr6sk5ac7j2gyxj6wz52";
|
||||
}
|
||||
{
|
||||
name = "project-manager";
|
||||
publisher = "alefragnani";
|
||||
version = "12.7.0";
|
||||
sha256 = "023xglwiqs8dp521h34zgny1d3wma1xn5pdm0srqwl7adsz304xc";
|
||||
}
|
||||
{
|
||||
name = "Nix";
|
||||
publisher = "bbenoist";
|
||||
version = "1.0.1";
|
||||
sha256 = "0zd0n9f5z1f0ckzfjr38xw2zzmcxg1gjrava7yahg5cvdcw6l35b";
|
||||
}
|
||||
{
|
||||
name = "github-markdown-preview";
|
||||
publisher = "bierner";
|
||||
version = "0.3.0";
|
||||
sha256 = "124vsg5jxa90j3mssxi18nb3wn6fji6b0mnnkasa89rgx3jfb5pf";
|
||||
}
|
||||
{
|
||||
name = "markdown-checkbox";
|
||||
publisher = "bierner";
|
||||
version = "0.3.3";
|
||||
sha256 = "0i2lwdflqwwdmga9knmmsz4hdjrycagj1ym5kv3h75f5s9zjvkk0";
|
||||
}
|
||||
{
|
||||
name = "markdown-emoji";
|
||||
publisher = "bierner";
|
||||
version = "0.3.0";
|
||||
sha256 = "0llmgk3rwcslqfnqp7xgvrqjqly3hvisahzmi0p49wn0w0fky3xg";
|
||||
}
|
||||
{
|
||||
name = "markdown-footnotes";
|
||||
publisher = "bierner";
|
||||
version = "0.0.7";
|
||||
sha256 = "1k6qsg8al95pij9nd43l7n1zfw0sadpagqz1s8paja1qhgxw5fc5";
|
||||
}
|
||||
{
|
||||
name = "markdown-mermaid";
|
||||
publisher = "bierner";
|
||||
version = "1.15.2";
|
||||
sha256 = "0wq15fviv2zxn58xbgzwh8x958iy24q0963pbrci732hnyb9s9m8";
|
||||
}
|
||||
{
|
||||
name = "markdown-preview-github-styles";
|
||||
publisher = "bierner";
|
||||
version = "1.0.1";
|
||||
sha256 = "1bjx46v17d18c9bplz70dx6fpsc6pr371ihpawhlr1y61b59n5aj";
|
||||
}
|
||||
{
|
||||
name = "markdown-yaml-preamble";
|
||||
publisher = "bierner";
|
||||
version = "0.1.0";
|
||||
sha256 = "1xlb6dvrsy2sp92lax1nq01xcrax1nm256ns9b4vvkq7p4njpqp5";
|
||||
}
|
||||
{
|
||||
name = "pioasm";
|
||||
publisher = "chris-hock";
|
||||
version = "1.0.0";
|
||||
sha256 = "09p7cbk7hnhl9q4viscfy45fq1gv16xf0dm97s8hfpcz2w6fmw1q";
|
||||
}
|
||||
{
|
||||
name = "gitignore";
|
||||
publisher = "codezombiech";
|
||||
version = "0.9.0";
|
||||
sha256 = "0ww0x28m83fv5zdqkmz108rsxb60fyy5y0ksknb2xchirzwhayi0";
|
||||
}
|
||||
{
|
||||
name = "doxdocgen";
|
||||
publisher = "cschlosser";
|
||||
version = "1.4.0";
|
||||
sha256 = "1d95znf2vsdzv9jqiigh9zm62dp4m9jz3qcfaxn0n0pvalbiyw92";
|
||||
}
|
||||
{
|
||||
name = "vscode-markdownlint";
|
||||
publisher = "DavidAnson";
|
||||
version = "0.48.1";
|
||||
sha256 = "0npmvaw734r8pk17cz8vccxwxnbpk076ickndkd9gymcyqd5jfnx";
|
||||
}
|
||||
{
|
||||
name = "dhall-lang";
|
||||
publisher = "dhall";
|
||||
version = "0.0.4";
|
||||
sha256 = "0sa04srhqmngmw71slnrapi2xay0arj42j4gkan8i11n7bfi1xpf";
|
||||
}
|
||||
{
|
||||
name = "vscode-dhall-lsp-server";
|
||||
publisher = "dhall";
|
||||
version = "0.0.4";
|
||||
sha256 = "1zin7s827bpf9yvzpxpr5n6mv0b5rhh3civsqzmj52mdq365d2js";
|
||||
}
|
||||
{
|
||||
name = "git-extension-pack";
|
||||
publisher = "donjayamanne";
|
||||
version = "0.1.3";
|
||||
sha256 = "0j4mq15msbr191az0fyv0q4dbcrsacv4ydim2920p4cml9cqgnw3";
|
||||
}
|
||||
{
|
||||
name = "githistory";
|
||||
publisher = "donjayamanne";
|
||||
version = "0.6.19";
|
||||
sha256 = "15s2mva9hg2pw499g890v3jycncdps2dmmrmrkj3rns8fkhjn8b3";
|
||||
}
|
||||
{
|
||||
name = "xml";
|
||||
publisher = "DotJoshJohnson";
|
||||
version = "2.5.1";
|
||||
sha256 = "1v4x6yhzny1f8f4jzm4g7vqmqg5bqchyx4n25mkgvw2xp6yls037";
|
||||
}
|
||||
{
|
||||
name = "gitlens";
|
||||
publisher = "eamodio";
|
||||
version = "2022.10.2605";
|
||||
sha256 = "1kz7v9w10zd6dnhbxavcy2kns27p3nh18aq181ch5hvkbgn3140d";
|
||||
}
|
||||
{
|
||||
name = "EditorConfig";
|
||||
publisher = "EditorConfig";
|
||||
version = "0.16.4";
|
||||
sha256 = "0fa4h9hk1xq6j3zfxvf483sbb4bd17fjl5cdm3rll7z9kaigdqwg";
|
||||
}
|
||||
{
|
||||
name = "vscode-pull-request-github";
|
||||
publisher = "GitHub";
|
||||
version = "0.53.2022102820";
|
||||
sha256 = "0n867cbmhhsmz0d0jzyy144jsa9ywgzzr9j713cwc62ac9czyizx";
|
||||
}
|
||||
{
|
||||
name = "vscode-test-explorer";
|
||||
publisher = "hbenl";
|
||||
version = "2.21.1";
|
||||
sha256 = "022lnkq278ic0h9ggpqcwb3x3ivpcqjimhgirixznq0zvwyrwz3w";
|
||||
}
|
||||
{
|
||||
name = "discord-vscode";
|
||||
publisher = "icrawl";
|
||||
version = "5.8.0";
|
||||
sha256 = "0r9n2g5rif4y2619wccjqh3pn9rljb3yhblz09pdksmfi2ifakr1";
|
||||
}
|
||||
{
|
||||
name = "better-cpp-syntax";
|
||||
publisher = "jeff-hykin";
|
||||
version = "1.16.3";
|
||||
sha256 = "1fdchrm3i7qlhqnyi2icgcmi4b0kr27bp0mgys7iyswfqh3nfji7";
|
||||
}
|
||||
{
|
||||
name = "nix-ide";
|
||||
publisher = "jnoortheen";
|
||||
version = "0.2.1";
|
||||
sha256 = "0bibb3r4cb7chnx6vpyl41ig12pc0cbg0sb8f2khs52c71nk4bn8";
|
||||
}
|
||||
{
|
||||
name = "rust-doc-viewer";
|
||||
publisher = "JScearcy";
|
||||
version = "3.0.4";
|
||||
sha256 = "0yrf0ak3fylcg7pgxp18d7p0ln0mm1bkcc341y7fiaj7v3gdvgyz";
|
||||
}
|
||||
{
|
||||
name = "vscode-elixir";
|
||||
publisher = "mjmcloug";
|
||||
version = "1.1.0";
|
||||
sha256 = "0kj7wlhapkkikn1md8cknrffrimk0g0dbbhavasys6k3k7pk2khh";
|
||||
}
|
||||
{
|
||||
name = "direnv";
|
||||
publisher = "mkhl";
|
||||
version = "0.7.0";
|
||||
sha256 = "07kfdgrkks0500547b98mx0sy4l7f3vxspmpppaz7wjl6224zc1h";
|
||||
}
|
||||
{
|
||||
name = "csharp";
|
||||
publisher = "ms-dotnettools";
|
||||
version = "1.25.0";
|
||||
sha256 = "1cqqjg8q6v56b19aabs9w1kxly457mpm0akbn5mis9nd1mrdmydl";
|
||||
}
|
||||
{
|
||||
name = "python";
|
||||
publisher = "ms-python";
|
||||
version = "2022.17.13020517";
|
||||
sha256 = "0ygh4qyygpbmv5iws14v1yf2k0c900ji0bvbfyj2z0hcb2s0zci6";
|
||||
}
|
||||
{
|
||||
name = "remote-ssh";
|
||||
publisher = "ms-vscode-remote";
|
||||
version = "0.90.1";
|
||||
sha256 = "19lrw5107d1ji80g6pm98213gfsryg6qdl5y5f360dny31p38pn4";
|
||||
}
|
||||
{
|
||||
name = "cmake-tools";
|
||||
publisher = "ms-vscode";
|
||||
version = "1.13.20";
|
||||
sha256 = "02xl4rgf0ial987hnaqx45sgbzm95ncndchsq0rw24xgkw72nbym";
|
||||
}
|
||||
{
|
||||
name = "cpptools";
|
||||
publisher = "ms-vscode";
|
||||
version = "1.13.3";
|
||||
sha256 = "sha256-BxBOFlkRrk+QOba5BaNiRnkfJlHMMU61bBC6g4WcZmQ=";
|
||||
}
|
||||
{
|
||||
name = "cpptools-extension-pack";
|
||||
publisher = "ms-vscode";
|
||||
version = "1.3.0";
|
||||
sha256 = "11fk26siccnfxhbb92z6r20mfbl9b3hhp5zsvpn2jmh24vn96x5c";
|
||||
}
|
||||
{
|
||||
name = "cpptools-themes";
|
||||
publisher = "ms-vscode";
|
||||
version = "2.0.0";
|
||||
sha256 = "05r7hfphhlns2i7zdplzrad2224vdkgzb0dbxg40nwiyq193jq31";
|
||||
}
|
||||
{
|
||||
name = "makefile-tools";
|
||||
publisher = "ms-vscode";
|
||||
version = "0.6.0";
|
||||
sha256 = "07zagq5ib9hd3w67yk2g728vypr4qazw0g9dyd5bax21shnmppa9";
|
||||
}
|
||||
{
|
||||
name = "test-adapter-converter";
|
||||
publisher = "ms-vscode";
|
||||
version = "0.1.6";
|
||||
sha256 = "0pj4ln8g8dzri766h9grdvhknz2mdzwv0lmzkpy7l9w9xx8jsbsh";
|
||||
}
|
||||
{
|
||||
name = "veriloghdl";
|
||||
publisher = "mshr-h";
|
||||
version = "1.5.4";
|
||||
sha256 = "1i8qcfx5v4d30gkyy00a4d8l6ss828va6lp69h9i1ynrgqzl85av";
|
||||
}
|
||||
{
|
||||
name = "sqltools";
|
||||
publisher = "mtxr";
|
||||
version = "0.25.1";
|
||||
sha256 = "1zawd80w0slyagm9m72dsr3ckh4fwf4as4a71iy8pw5pk22cwbxa";
|
||||
}
|
||||
{
|
||||
name = "clang-tidy";
|
||||
publisher = "notskm";
|
||||
version = "0.5.1";
|
||||
sha256 = "0z44hbrbzlhxbzf1j55xpl5fb7gic9avvcz4dvljrwz4qqdjzq4x";
|
||||
}
|
||||
{
|
||||
name = "cargo";
|
||||
publisher = "panicbit";
|
||||
version = "0.2.3";
|
||||
sha256 = "0idcbri4kpva0yxni0ql6l14knc3h6izxza5d49jidrh9xj0njh7";
|
||||
}
|
||||
{
|
||||
name = "material-icon-theme";
|
||||
publisher = "PKief";
|
||||
version = "4.21.0";
|
||||
sha256 = "15bilv7ck3538dxkjnsqwgw3y1dqbyd9y9qhghysj4fxc367h0hk";
|
||||
}
|
||||
{
|
||||
name = "fabric8-analytics";
|
||||
publisher = "redhat";
|
||||
version = "0.3.6";
|
||||
sha256 = "06d7yvracfx1p6rzh8x32b24gjf1984gjp5x3rw2b82wda0bn3fq";
|
||||
}
|
||||
{
|
||||
name = "java";
|
||||
publisher = "redhat";
|
||||
version = "1.13.2022102804";
|
||||
sha256 = "sha256-EbwaHrm/0eJe631R0AOc7ND+lVBfMro8HlZAF0VgY1M=";
|
||||
}
|
||||
{
|
||||
name = "vscode-xml";
|
||||
publisher = "redhat";
|
||||
version = "0.23.2022102904";
|
||||
sha256 = "sha256-svOzvBicBqwD6xVEMpy38TucgrxnzH5iOfwktzXgk9g=";
|
||||
}
|
||||
{
|
||||
name = "vscode-yaml";
|
||||
publisher = "redhat";
|
||||
version = "1.11.10112022";
|
||||
sha256 = "0i53n9whcfpds9496r4pa27j3zmd4jc1kpkf4m4rfxzswwngg47x";
|
||||
}
|
||||
{
|
||||
name = "LiveServer";
|
||||
publisher = "ritwickdey";
|
||||
version = "5.7.9";
|
||||
sha256 = "0dycc18i1zn20zgh5ymqbi1nmg2an49ndf9r2w6dr5lx8d49hh63";
|
||||
}
|
||||
{
|
||||
name = "scala";
|
||||
publisher = "scala-lang";
|
||||
version = "0.5.6";
|
||||
sha256 = "004zc3id5jk8hk6q27g4p36prvnlqdsgda0gd6xvs4gamhywhb3s";
|
||||
}
|
||||
{
|
||||
name = "crates";
|
||||
publisher = "serayuzgur";
|
||||
version = "0.5.10";
|
||||
sha256 = "1dbhd6xbawbnf9p090lpmn8i5gg1f7y8xk2whc9zhg4432kdv3vd";
|
||||
}
|
||||
{
|
||||
name = "signageos-vscode-sops";
|
||||
publisher = "signageos";
|
||||
version = "0.6.1";
|
||||
sha256 = "0a2hdwnd0hsyhnx3bmwjn6y9a8lz7cgzgrar8yrp249yywhy4xbw";
|
||||
}
|
||||
{
|
||||
name = "vscode-rust-test-adapter";
|
||||
publisher = "Swellaby";
|
||||
version = "0.11.0";
|
||||
sha256 = "111vhl71zzh4il1kh21l49alwlllzcvmdbsxyvk9bq3r24hxq1r2";
|
||||
}
|
||||
{
|
||||
name = "even-better-toml";
|
||||
publisher = "tamasfe";
|
||||
version = "0.18.3";
|
||||
sha256 = "1krx857sw4mlshhybv390ivv7ykb6z93cyphjv5k9ripb4865g15";
|
||||
}
|
||||
{
|
||||
name = "cmake";
|
||||
publisher = "twxs";
|
||||
version = "0.0.17";
|
||||
sha256 = "11hzjd0gxkq37689rrr2aszxng5l9fwpgs9nnglq3zhfa1msyn08";
|
||||
}
|
||||
{
|
||||
name = "vscodeintellicode";
|
||||
publisher = "VisualStudioExptTeam";
|
||||
version = "1.2.29";
|
||||
sha256 = "099vyn3c5x5vrcmvxa35452ic221iw1595grxq5khfl2p5vvwpss";
|
||||
}
|
||||
{
|
||||
name = "vscode-java-debug";
|
||||
publisher = "vscjava";
|
||||
version = "0.45.2022102702";
|
||||
sha256 = "1i6z1318y83sgypqvpnb9bw3z16xxd3yhdq7dy2qgy0hlbsp4rbl";
|
||||
}
|
||||
{
|
||||
name = "vscode-java-dependency";
|
||||
publisher = "vscjava";
|
||||
version = "0.21.2022102500";
|
||||
sha256 = "06fpgjk4dachj4w2lmgzrb507yryb1id4nazvfds1b32w29496lf";
|
||||
}
|
||||
{
|
||||
name = "vscode-java-pack";
|
||||
publisher = "vscjava";
|
||||
version = "0.25.2022092912";
|
||||
sha256 = "0a1azbdaj6dr7lxmpa12s0wr30isj4aj0fhd8m9cxkrr93hk43i5";
|
||||
}
|
||||
{
|
||||
name = "vscode-java-test";
|
||||
publisher = "vscjava";
|
||||
version = "0.37.2022090902";
|
||||
sha256 = "17i9jfwpjjxp81dg6nnviczzmr47pvz33zc4bwfvz69ckn6v74j4";
|
||||
}
|
||||
{
|
||||
name = "vscode-maven";
|
||||
publisher = "vscjava";
|
||||
version = "0.39.2022101303";
|
||||
sha256 = "1grbr0xf19c0a3gx8053mya9v2yfgk27n1wxhdgasgx5vj8v4glh";
|
||||
}
|
||||
{
|
||||
name = "clang-format";
|
||||
publisher = "xaver";
|
||||
version = "1.9.0";
|
||||
sha256 = "0bwc4lpcjq1x73kwd6kxr674v3rb0d2cjj65g3r69y7gfs8yzl5b";
|
||||
}
|
||||
{
|
||||
name = "markdown-all-in-one";
|
||||
publisher = "yzhang";
|
||||
version = "3.4.4";
|
||||
sha256 = "0jw38vf3pzplw5dnhs8b9fxqc4z5b198wjw3y3ll14xjzxc5ymns";
|
||||
}
|
||||
{
|
||||
name = "vscode-open-in-github";
|
||||
publisher = "ziyasal";
|
||||
version = "1.3.6";
|
||||
sha256 = "156gaj7gcm0588hmwkigkmidf0jxnrq2kvaigf3kszisz05854dq";
|
||||
}
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue