fixes cleo-darwin

This commit is contained in:
Matthew Bessette
2026-06-24 13:55:25 -04:00
parent ef8af5c732
commit aff29b3a6c
8 changed files with 109 additions and 154 deletions
+22 -18
View File
@@ -1,4 +1,11 @@
{ config, pkgs, ... }: {
{ config, pkgs, inputs, ... }:
let
oldPkgs = import inputs.nixpkgs-nodejs {
system = pkgs.stdenv.hostPlatform.system;
config.allowUnfree = true;
};
in
{
home.stateVersion = "23.11";
home.username = "matthew.bessette";
@@ -8,11 +15,7 @@
# Dev Specs
python3
pipenv
nodejs_22
yarn
jdk17
obsidian
opencode
github-copilot-cli
gh
@@ -31,6 +34,13 @@
# pkg managers
uv
xcodes
## Tooling
fd
granted
] ++ [
oldPkgs.nodejs_22
oldPkgs.yarn
];
# Enable direnv for automatic environment switching
@@ -65,17 +75,6 @@
with pkgs.vscode-marketplace; [
biomejs.biome
]
) ++ (
pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "copilot-chat";
publisher = "GitHub";
version = "0.39.1";
# sha256 = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
sha256 = "sha256-2uD8HtsiII1gg3VlODSYI8DMBJrslZr/LCaQMAHI85g=";
}
]
);
};
};
@@ -86,6 +85,9 @@
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
profileExtra = ''
eval "$(/opt/homebrew/bin/brew shellenv)"
'';
oh-my-zsh.enable = true;
oh-my-zsh.theme = "robbyrussell";
oh-my-zsh.plugins = [
@@ -119,14 +121,16 @@
laws = "aws --endpoint=http://localhost:4566";
dev = "nix develop -c $SHELL";
nixos = "code ~/nixos";
assume = "source assume";
};
};
home.sessionVariables = {
# Points to the Homebrew location mentioned in your caveat
ANDROID_HOME = "/opt/homebrew/share/android-commandlinetools";
JAVA_HOME = "${pkgs.jdk17}";
JAVA_HOME = "/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home";
NPM_CONFIG_PREFIX = "${config.home.homeDirectory}/.npm-global";
GRANTED_ALIAS_CONFIGURED = "true";
};
home.sessionPath = [