Merge branch 'main' into stylix

This commit is contained in:
Tyler Mayoff 2025-02-14 20:01:09 -05:00
commit d1055552bc
60 changed files with 3863 additions and 248 deletions

View file

@ -1,8 +1,62 @@
{
inputs,
outputs,
pkgs,
lib,
...
}: {
# services.aerospace.enable = true;
imports = [
# ../fish.nix
./sketchybar.nix
];
nixpkgs = {
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.unstable-packages
];
config = {
allowUnfree = true;
};
};
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;
};
system.defaults.NSGlobalDomain._HIHideMenuBar = true;
security.pam.enableSudoTouchIdAuth = true;
environment.systemPackages = with pkgs; [
pinentry_mac
llvmPackages_19.clang-tools
sketchybar
sbarlua
lua
# android-tools
jdk17
];
programs.fish.enable = true;
programs.zsh.enable = true;
system.stateVersion = 5;
}

View file

@ -1,24 +1,15 @@
{
lib,
pkgs,
...
}: let
# mac-app-util-src = builtins.fetchTarball {
# url = "https://github.com/hraban/mac-app-util/archive/master.tar.gz";
# sha256 = "1w80vjcnaysjlzxsp3v4pxq4yswbjvxs8ann2bk0m7rkjljnzz6m";
# };
# mac-app-util = import mac-app-util-src {};
in rec {
{pkgs, ...}: {
imports = [
../stylix.nix
../common.nix
../kitty.nix
# mac-app-util.homeManagerModules.default
];
# xdg.enable = lib.mkForce false;
home = {
username = lib.mkForce "tyler.mayoff";
homeDirectory = lib.mkForce "/Users/tyler.mayoff";
username = "tyler.mayoff";
# homeDirectory = /Users/tyler.mayoff;
packages = with pkgs; [
bazel_7
@ -26,10 +17,7 @@ in rec {
conan
black
# clang
# biome
deno
swiftlint
unstable.helix-gpt
unstable.lsp-ai
@ -42,13 +30,17 @@ in rec {
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";
}

View file

@ -0,0 +1,6 @@
{...}: {
# services.sketchybar = {
# enable = true;
# extraPackages = [];
# };
}