2020-07-06 16:32:41 +02:00
|
|
|
{ pkgs, depot, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
rec {
|
2022-05-26 14:44:11 +02:00
|
|
|
home = confPath: (import (pkgs.home-manager.src + "/modules") {
|
2021-04-10 18:05:16 +02:00
|
|
|
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;
|
|
|
|
|
2022-07-19 23:39:57 +02:00
|
|
|
ogopogo = home ./machines/ogopogo.nix;
|
|
|
|
|
|
|
|
ogopogoHome = ogopogo.activation-script;
|
|
|
|
|
2020-11-30 00:59:26 +01:00
|
|
|
yeren = home ./machines/yeren.nix;
|
|
|
|
|
|
|
|
yerenHome = yeren.activation-script;
|
|
|
|
|
2022-02-08 00:26:00 +01:00
|
|
|
meta.ci.targets = [
|
2020-11-30 00:59:26 +01:00
|
|
|
"yerenHome"
|
|
|
|
];
|
2020-07-06 16:32:41 +02:00
|
|
|
}
|