bump
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
# Add Homebrew to PATH
|
||||
environment.systemPath = [ "/opt/homebrew/bin" "/opt/homebrew/sbin" ];
|
||||
|
||||
# Biome config
|
||||
environment.etc."biome.json".source = ../../config/biome.json;
|
||||
|
||||
system.primaryUser = "matthew.bessette";
|
||||
users.users."matthew.bessette" = {
|
||||
name = "matthew.bessette";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }: {
|
||||
{ config, pkgs, ... }: {
|
||||
home.stateVersion = "23.11";
|
||||
|
||||
home.username = "matthew.bessette";
|
||||
@@ -23,8 +23,6 @@
|
||||
buf
|
||||
];
|
||||
|
||||
xdg.configFile."biome.json".source = ../../config/biome.json;
|
||||
|
||||
# Enable direnv for automatic environment switching
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
@@ -51,6 +49,7 @@
|
||||
ms-python.python
|
||||
ms-python.vscode-pylance
|
||||
redhat.vscode-xml
|
||||
# typescriptteam.native-preview
|
||||
];
|
||||
};
|
||||
};
|
||||
@@ -98,5 +97,35 @@
|
||||
# Points to the Homebrew location mentioned in your caveat
|
||||
ANDROID_HOME = "/opt/homebrew/share/android-commandlinetools";
|
||||
JAVA_HOME = "${pkgs.jdk17}";
|
||||
NPM_CONFIG_PREFIX = "${config.home.homeDirectory}/.npm-global";
|
||||
};
|
||||
|
||||
home.sessionPath = [
|
||||
"${config.home.homeDirectory}/.npm-global/bin"
|
||||
];
|
||||
|
||||
home.file.".npmrc".text = ''
|
||||
prefix=${config.home.homeDirectory}/.npm-global
|
||||
'' ;
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
|
||||
settings.user = {
|
||||
name = "Matthew Bessette";
|
||||
email = "matthew.bessette@hicleo.com";
|
||||
};
|
||||
|
||||
settings.init.defaultBranch = "main";
|
||||
|
||||
# This creates ~/.config/git/ignore and sets core.excludesFile
|
||||
ignores = [
|
||||
"biome.json"
|
||||
"flake.lock"
|
||||
"flake.nix"
|
||||
".DS_Store"
|
||||
".direnv"
|
||||
".envrc"
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,22 +1,45 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.4.5/schema.json",
|
||||
"organizeImports": {
|
||||
"enabled": true
|
||||
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
|
||||
"linter": {
|
||||
"enabled": false
|
||||
},
|
||||
"assist": {
|
||||
"enabled": false
|
||||
},
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"formatWithErrors": false,
|
||||
"attributePosition": "auto",
|
||||
"indentStyle": "space",
|
||||
"indentWidth": 2,
|
||||
"lineWidth": 140,
|
||||
"attributePosition": "auto"
|
||||
"lineEnding": "lf",
|
||||
"bracketSpacing": true,
|
||||
"trailingNewline": true
|
||||
},
|
||||
"graphql": {
|
||||
"formatter": {
|
||||
"quoteStyle": "double"
|
||||
}
|
||||
},
|
||||
"javascript": {
|
||||
"parser": {
|
||||
"unsafeParameterDecoratorsEnabled": true
|
||||
},
|
||||
"formatter": {
|
||||
"quoteStyle": "single",
|
||||
"arrowParentheses": "always",
|
||||
"bracketSameLine": false,
|
||||
"bracketSpacing": true,
|
||||
"jsxQuoteStyle": "double",
|
||||
"trailingCommas": "all",
|
||||
"arrowParentheses": "asNeeded"
|
||||
"quoteProperties": "asNeeded",
|
||||
"quoteStyle": "single",
|
||||
"semicolons": "always",
|
||||
"trailingCommas": "all"
|
||||
}
|
||||
},
|
||||
"json": {
|
||||
"formatter": {
|
||||
"trailingCommas": "none"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"$schema": "vscode://schemas/settings/user",
|
||||
"debug.javascript.autoAttachFilter": "disabled",
|
||||
"editor.tabSize": 2,
|
||||
"editor.unicodeHighlight.ambiguousCharacters": false,
|
||||
"editor.unicodeHighlight.invisibleCharacters": false,
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "biomejs.biome",
|
||||
"debug.javascript.autoAttachFilter": "disabled",
|
||||
"[json]": {
|
||||
"editor.defaultFormatter": "biomejs.biome",
|
||||
"editor.formatOnSave": true
|
||||
@@ -30,7 +30,10 @@
|
||||
"js/ts.preferences.importModuleSpecifier": "relative",
|
||||
"git.openRepositoryInParentFolders": "never",
|
||||
"github.copilot.nextEditSuggestions.enabled": true,
|
||||
"chat.tools.terminal.autoApprove": { "yarn test": true, "npm test": true },
|
||||
"chat.tools.terminal.autoApprove": {
|
||||
"yarn test": true,
|
||||
"npm test": true
|
||||
},
|
||||
"gitlens.ai.model": "vscode",
|
||||
"gitlens.ai.vscode.model": "copilot:gpt-4.1",
|
||||
"chat.viewSessions.orientation": "stacked",
|
||||
@@ -43,5 +46,9 @@
|
||||
"https://json-schema.org/": true,
|
||||
"https://developer.microsoft.com/json-schemas/": true,
|
||||
"https://biomejs.dev": true
|
||||
}
|
||||
},
|
||||
"oxc.enable": null,
|
||||
"oxc.enable.oxlint": true,
|
||||
"js/ts.updateImportsOnFileMove.enabled": "always",
|
||||
"js/ts.experimental.useTsgo": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user