bump
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
environment.systemPath = [ "/opt/homebrew/bin" "/opt/homebrew/sbin" ];
|
||||
|
||||
# Biome config
|
||||
environment.etc."biome.json".source = ../../config/biome.json;
|
||||
environment.etc."biome.json".source = ./config.biome.json;
|
||||
environment.etc."oxlintrc.json".source = ./config.oxlintrc.json;
|
||||
|
||||
system.primaryUser = "matthew.bessette";
|
||||
users.users."matthew.bessette" = {
|
||||
@@ -33,7 +33,7 @@
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
profiles.default = {
|
||||
userSettings = builtins.fromJSON (builtins.readFile ../../config/vscode.settings.json);
|
||||
userSettings = builtins.fromJSON (builtins.readFile ./config.vscode.settings.json);
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
# graphql.vscode-graphql
|
||||
biomejs.biome
|
||||
31
config.oxlintrc.json
Normal file
31
config.oxlintrc.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"plugins": [
|
||||
"eslint",
|
||||
"import",
|
||||
"node",
|
||||
"oxc",
|
||||
"promise",
|
||||
"typescript",
|
||||
"unicorn"
|
||||
],
|
||||
"categories": {
|
||||
"correctness": "warn",
|
||||
"suspicious": "error",
|
||||
"perf": "error"
|
||||
},
|
||||
"rules": {
|
||||
"unicorn/require-module-specifiers": "off",
|
||||
|
||||
"eslint/no-restricted-imports": [
|
||||
"error",
|
||||
{
|
||||
"paths": [
|
||||
{
|
||||
"name": "zod",
|
||||
"message": "Use `zod/v4` (legacy `zod` import is disallowed)."
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -49,6 +49,8 @@
|
||||
},
|
||||
"oxc.enable": null,
|
||||
"oxc.enable.oxlint": true,
|
||||
"oxc.configPath": "/etc/oxlintrc.json",
|
||||
"oxc.disableNestedConfig": true,
|
||||
"js/ts.updateImportsOnFileMove.enabled": "always",
|
||||
"js/ts.experimental.useTsgo": true
|
||||
}
|
||||
@@ -76,12 +76,12 @@
|
||||
specialArgs = { inherit system; inherit inputs; };
|
||||
system = "aarch64-darwin";
|
||||
modules = [
|
||||
./_hosts/cleo-darwin/darwin.nix
|
||||
./cleo.darwin.nix
|
||||
home-manager.darwinModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users."matthew.bessette" = import ./_hosts/cleo-darwin/home.nix;
|
||||
home-manager.users."matthew.bessette" = import ./cleo.home.nix;
|
||||
home-manager.backupFileExtension = ".before-nix";
|
||||
}
|
||||
];
|
||||
|
||||
0
hydrogen.darwin.nix
Normal file
0
hydrogen.darwin.nix
Normal file
0
hydrogen.home.nix
Normal file
0
hydrogen.home.nix
Normal file
Reference in New Issue
Block a user