mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 02:40:14 +00:00
initial refactoring
This commit is contained in:
26
platforms/nix-darwin/modules/nmasur/profiles/base.nix
Normal file
26
platforms/nix-darwin/modules/nmasur/profiles/base.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
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
|
||||
];
|
||||
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user