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;
|
|
|
|
|
|
|
|
meta.targets = [ "chupacabraHome" ];
|
2020-07-06 16:32:41 +02:00
|
|
|
}
|