32 lines
594 B
Nix
Raw Normal View History

2025-01-20 22:35:40 -05:00
{
config,
lib,
...
}:
let
cfg = config.nmasur.profiles.base;
in
{
options.nmasur.profiles.base.enable = lib.mkEnableOption "base macOS config";
config = lib.mkIf cfg.enable {
homebrew.brews = lib.mkDefault [
"trash" # Delete files and folders to trash instead of rm
];
homebrew.casks = lib.mkDefault [
"scroll-reverser" # Different scroll style for mouse vs. trackpad
"notunes" # Don't launch Apple Music with the play button
];
2025-01-29 21:12:48 -05:00
# Add homebrew paths to CLI path
home.sessionPath = [
"/opt/homebrew/opt/trash/bin"
];
2025-01-20 22:35:40 -05:00
};
}