tvl-depot/users/grfn/system/home/default.nix
Vincent Ambo 4c976c863f chore(grfn): move meta.targets definitions to meta.ci.targets
Change-Id: I1b77319a7218157818b4e48fadb98d00790b7f67
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5253
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
2022-02-07 23:27:49 +00:00

32 lines
696 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;
yeren = home ./machines/yeren.nix;
yerenHome = yeren.activation-script;
meta.ci.targets = [
"yerenHome"
];
}