.dotfiles/dot_config/flake/machines/hinge/darwin.nix
Tyler Mayoff ac85fbfa4e
Some checks failed
Renovate / renovate (push) Failing after 2m43s
build flakes / build (x86_64-linux, wash, linux) (push) Failing after 12m29s
update paperwm
2025-12-04 11:20:08 -05:00

129 lines
2.2 KiB
Nix

{
outputs,
pkgs,
...
}: let
py_ver = "3.10";
in {
imports = [
# ../fish.nix
# ./sketchybar.nix
# ../../modules/darwin/aerospace
];
nixpkgs = {
overlays = builtins.attrValues outputs.overlays;
config = {
allowUnfree = true;
allowUnsupportedSystem = true;
};
hostPlatform = "aarch64-darwin";
};
nix.enable = false;
# 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.primaryUser = "tyler.mayoff";
security.pam.services.sudo_local.touchIdAuth = true;
environment.systemPackages = with pkgs; [
pinentry_mac
fnm
sketchybar
lua
jdk17
conan
gcovr
lcov
deno
basedpyright
taplo
autoraise
];
homebrew = {
enable = true;
onActivation = {
autoUpdate = true; # Fetch the newest stable branch of Homebrew's git repo
upgrade = true; # Upgrade outdated casks, formulae, and App Store apps
# 'zap': uninstalls all formulae(and related files) not listed in the generated Brewfile
# cleanup = "zap";
};
brews = [
# "autoconf"
# "automake"
# "direnv"
# "fastlane"
# "freetype"
# "git-lfs"
# "libtool"
# "m4"
# "nasm"
# "pkg-config"
# "python@${py_ver}"
# "rsync"
# "jq"
# "pipenv"
# "ffmpeg"
# "wget"
# "ios-deploy"
# "unzip"
# "yarn"
# "xz"
# "llvm@20"
];
casks = [
"android-studio"
"notunes"
"hammerspoon"
"claude-code"
"firefox"
"gpg-suite"
"libreoffice"
"cursor"
];
};
services.jankyborders = {
enable = false;
# active_color = "0xFF95bcf9";
};
programs.fish.enable = true;
programs.zsh.enable = false;
programs.bash.enable = false;
system.stateVersion = 5;
}