nixberry: add hostplatform
This commit is contained in:
		
							parent
							
								
									cac6c46d78
								
							
						
					
					
						commit
						e9a1b42e61
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		|  | @ -4,6 +4,7 @@ | |||
|   lib, | ||||
|   modulesPath, | ||||
|   namespace, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: | ||||
| 
 | ||||
|  | @ -16,9 +17,12 @@ in | |||
| { | ||||
|   imports = with inputs.nixos-hardware.nixosModules; [ | ||||
|     (modulesPath + "/installer/scan/not-detected.nix") | ||||
|     raspberry-pi-5 | ||||
|   ]; | ||||
| 
 | ||||
|   nixpkgs.hostPlatform = { | ||||
|     system = "aarch64-linux"; | ||||
|   }; | ||||
| 
 | ||||
|   services.tailscale = { | ||||
|     enable = true; | ||||
|     useRoutingFeatures = "server"; | ||||
|  | @ -149,6 +153,8 @@ in | |||
|       remotebuild = enabled; | ||||
|     }; | ||||
| 
 | ||||
|     apps.cli-apps.helix.pkg = pkgs.helix; | ||||
| 
 | ||||
|     system = { | ||||
|       # cachemiss for webkit gtk | ||||
|       hardware.networking.enable = mkForce false; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue