This commit is contained in:
Tyler Mayoff 2025-02-17 09:11:09 -05:00
parent 03b3066880
commit 6768bdb19e
No known key found for this signature in database
GPG key ID: B62A5AFAD8E14845
9 changed files with 104 additions and 36 deletions

View file

@ -0,0 +1,67 @@
{
inputs,
outputs,
pkgs,
...
}: {
imports = [
# ../fish.nix
./sketchybar.nix
];
nixpkgs = {
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.unstable-packages
inputs.helix.overlays.default
];
config = {
allowUnfree = true;
};
hostPlatform = "aarch64-darwin";
};
nix.settings.experimental-features = ["nix-command" "flakes"];
# 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
];
# services.aerospace.enable = true;
programs.fish.enable = true;
programs.zsh.enable = true;
system.stateVersion = 5;
}