Updated macos settings

This commit is contained in:
Tyler Mayoff 2025-02-12 15:34:33 -05:00
parent 7c09c1e289
commit 9aae46a78f
No known key found for this signature in database
GPG key ID: B62A5AFAD8E14845
6 changed files with 36 additions and 12 deletions

View file

@ -55,9 +55,8 @@
./home/hinge/darwin.nix
home-manager.darwinModules.home-manager
{
# pkgs = allPkgs."aarch64-darwin";
#home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = false;
home-manager.useUserPackages = false;
home-manager.extraSpecialArgs = {inherit inputs outputs;};
home-manager.users."tyler.mayoff" = import ./home/hinge/hinge.nix;

View file

@ -77,6 +77,8 @@
programs.zellij = {
enable = true;
enableFishIntegration = false;
enableZshIntegration = false;
};
programs.starship = {

View file

@ -7,8 +7,8 @@
set -gx DEBEMAIL "tyler@tylermayoff.com"
fish_add_path $HOME/.local/bin
fish_add_path /opt/homebrew/bin
fish_add_path /opt/homebrew/opt/llvm@18/bin
# fish_add_path /opt/homebrew/bin
# fish_add_path /opt/homebrew/opt/llvm@18/bin
if test -e $HOME/.config/fish/variables-$(hostname)fish
source $HOME/.config/fish/variables-$(hostname).fish

View file

@ -1,11 +1,28 @@
{pkgs, ...}: {
{
pkgs,
lib,
...
}: {
# services.aerospace.enable = true;
imports = [
# ../fish.nix
];
users.users."tyler.mayoff".shell = pkgs.fish;
nix.extraOptions =
''
auto-optimise-store = true
experimental-features = nix-command flakes
''
+ lib.optionalString (pkgs.system == "aarch64-darwin") ''
extra-platforms = x86_64-darwin aarch64-darwin
'';
users.knownUsers = ["tyler.mayoff"];
users.users."tyler.mayoff" = {
uid = 502;
shell = pkgs.fish;
};
services.sketchybar.enable = true;
@ -13,7 +30,11 @@
environment.systemPackages = with pkgs; [
pinentry_mac
];
llvmPackages_19.clang-tools
# android-tools
jdk17
];
programs.fish.enable = true;
programs.zsh.enable = true;
}

View file

@ -29,14 +29,16 @@
just
yarn
cocoapods
# android-tools
jdk17
];
sessionVariables = {
ANDROID_HOME = "/Users/tyler.mayoff/Library/Android/sdk";
PATH = "$PATH:/Users/tyler.mayoff/Library/Android/sdk/platform-tools";
};
file.".gnupg/gpg-agent.conf".text = ''
pinentry-program ${pkgs.pinentry_mac}/Applications/pinentry-mac.app/Contents/MacOS/pinentry-mac
'';
};
home.stateVersion = "24.11";