2020-07-06 16:32:41 +02:00
|
|
|
{ pkgs, depot, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
rec {
|
2021-04-10 18:05:16 +02:00
|
|
|
home = confPath: (import "${pkgs.home-manager.src}/modules" {
|
|
|
|
inherit pkgs;
|
2020-07-06 16:32:41 +02:00
|
|
|
|
2021-04-20 00:09:39 +02:00
|
|
|
configuration = { config, lib, ... }: {
|
|
|
|
imports = [ confPath ];
|
2020-07-06 16:32:41 +02:00
|
|
|
lib.depot = depot;
|
2021-04-20 00:09:39 +02:00
|
|
|
|
|
|
|
# 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;
|
2020-07-06 16:32:41 +02:00
|
|
|
};
|
2020-08-27 02:05:45 +02:00
|
|
|
});
|
2020-07-06 16:32:41 +02:00
|
|
|
|
2020-11-25 15:59:11 +01:00
|
|
|
dobharchu = home ./machines/dobharchu.nix;
|
|
|
|
|
|
|
|
dobharchuHome = dobharchu.activation-script;
|
|
|
|
|
2020-11-30 00:59:26 +01:00
|
|
|
yeren = home ./machines/yeren.nix;
|
|
|
|
|
|
|
|
yerenHome = yeren.activation-script;
|
|
|
|
|
|
|
|
meta.targets = [
|
|
|
|
"yerenHome"
|
|
|
|
];
|
2020-07-06 16:32:41 +02:00
|
|
|
}
|