mirror of
				https://github.com/nmasur/dotfiles
				synced 2025-10-30 12:43:15 +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"
 | |
|       ];
 | |
|     };
 | |
| 
 | |
|   };
 | |
| }
 |