2020-07-06 16:32:41 +02:00
|
|
|
{ pkgs, depot, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
rec {
|
|
|
|
nixpkgs = import pkgs.nixpkgsSrc {};
|
|
|
|
|
2020-11-21 18:22:54 +01:00
|
|
|
home = confPath: (import "${nixpkgs.home-manager.src}/modules" {
|
2020-07-06 16:32:41 +02:00
|
|
|
pkgs = nixpkgs;
|
|
|
|
configuration = { config, lib, ... }: {
|
|
|
|
imports = [confPath];
|
|
|
|
|
|
|
|
_module.args.pkgs = mkForce
|
|
|
|
(import pkgs.nixpkgsSrc (filterAttrs (n: v: v != null) config.nixpkgs));
|
|
|
|
|
|
|
|
lib.depot = depot;
|
|
|
|
};
|
2020-08-27 02:05:45 +02:00
|
|
|
});
|
2020-07-06 16:32:41 +02:00
|
|
|
|
|
|
|
chupacabra = home ./machines/chupacabra.nix;
|
2020-09-09 16:48:29 +02:00
|
|
|
|
|
|
|
chupacabraHome = chupacabra.activation-script;
|
|
|
|
|
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 = [
|
|
|
|
"chupacabraHome"
|
|
|
|
"yerenHome"
|
|
|
|
];
|
2020-07-06 16:32:41 +02:00
|
|
|
}
|