mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 19:00:14 +00:00
initial refactoring
This commit is contained in:
23
platforms/nix-darwin/modules/nmasur/profiles/gaming.nix
Normal file
23
platforms/nix-darwin/modules/nmasur/profiles/gaming.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
cfg = config.nmasur.profiles.gaming;
|
||||
in
|
||||
|
||||
{
|
||||
|
||||
options.nmasur.profiles.gaming.enable = lib.mkEnableOption "gaming config for macOS";
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
homebrew.casks = lib.mkDefault [
|
||||
"steam" # Not packaged for Nixon macOS
|
||||
"epic-games" # Not packaged for Nix
|
||||
];
|
||||
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user