Change-Id: I6c6847fac56f0a9a1a2209792e00a3aec5e672b9 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10809 Autosubmit: aspen <root@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			784 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			784 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ pkgs, depot, lib, ... }:
 | 
						|
 | 
						|
with lib;
 | 
						|
 | 
						|
rec {
 | 
						|
  home = confPath: (import (pkgs.home-manager.src + "/modules") {
 | 
						|
    inherit pkgs;
 | 
						|
 | 
						|
    configuration = { config, lib, ... }: {
 | 
						|
      imports = [ confPath ];
 | 
						|
      lib.depot = depot;
 | 
						|
 | 
						|
      # home-manager exposes no API to override the package set that
 | 
						|
      # is used, unless called from the NixOS module.
 | 
						|
      #
 | 
						|
      # To get around it, the module argument is overridden here.
 | 
						|
      _module.args.pkgs = mkForce pkgs;
 | 
						|
    };
 | 
						|
  });
 | 
						|
 | 
						|
  dobharchu = home ./machines/dobharchu.nix;
 | 
						|
 | 
						|
  dobharchuHome = dobharchu.activation-script;
 | 
						|
 | 
						|
  ogopogo = home ./machines/ogopogo.nix;
 | 
						|
 | 
						|
  ogopogoHome = ogopogo.activation-script;
 | 
						|
 | 
						|
  yeren = home ./machines/yeren.nix;
 | 
						|
 | 
						|
  yerenHome = yeren.activation-script;
 | 
						|
 | 
						|
  meta.ci.targets = [
 | 
						|
    "yerenHome"
 | 
						|
  ];
 | 
						|
}
 |