about summary refs log blame commit diff
path: root/users/grfn/system/home/default.nix
blob: f821999b995782889c9c78df7f6c1762e2068ed5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                          
                                                                 
                 
 

                                           
                        





                                                                    
      
     
 



                                              



                                          



                                      
                     

               
 
{ 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"
  ];
}