mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 13:50:13 +00:00
33 lines
474 B
Nix
33 lines
474 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
|
|
let
|
|
cfg = config.nmasur.profiles.extra;
|
|
in
|
|
|
|
{
|
|
|
|
options.nmasur.profiles.extra.enable = lib.mkEnableOption "extra config for macOS";
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
nmasur.profiles.base.enable = lib.mkDefault true;
|
|
|
|
homebrew.casks = [
|
|
"keybase" # GUI on Nix not available for macOS
|
|
];
|
|
|
|
nix.linux-builder = {
|
|
enable = true;
|
|
systems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
];
|
|
};
|
|
|
|
};
|
|
}
|