mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 02:40:14 +00:00
initial refactoring
This commit is contained in:
22
platforms/nix-darwin/modules/nmasur/profiles/extra.nix
Normal file
22
platforms/nix-darwin/modules/nmasur/profiles/extra.nix
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.nmasur.profiles.gaming;
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
options.nmasur.profiles.gaming.enable = lib.mkEnableOption "extra config for macOS";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
homebrew.casks = lib.mkDefault [
|
||||
"keybase" # GUI on Nix not available for macOS
|
||||
];
|
||||
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user