In the spirit of Marie Kondo, I'm tidying up!
TL;DR:
- Prefer .envrc `use_nix` and delete all dir-locals.nix files
- Remove ~all references to <nixpkgs>, <unstable>, <depot> and prefer
  referencing each with briefcase.third_party.{pkgs,unstable,depot}
- Delete nixBufferFromShell function since I was only using that in
  dir-locals.nix files
		
	
			
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			274 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			274 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { pkgs, depot, ... }:
 | |
| 
 | |
| pkgs.dockerTools.buildLayeredImage {
 | |
|   name = "gemma";
 | |
|   tag = "latest";
 | |
|   config.ExposedPorts = {
 | |
|     "4242" = {};
 | |
|   };
 | |
|   config.Env = [
 | |
|     "GEMMA_CONFIG=${./config.lisp}"
 | |
|   ];
 | |
|   config.Cmd = [ "${depot.fun.gemma}/bin/gemma" ];
 | |
|   maxLayers = 120;
 | |
| }
 |