2020-07-06 16:32:41 +02:00
|
|
|
{ pkgs, depot, lib, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
rec {
|
|
|
|
nixpkgs = import pkgs.nixpkgsSrc {};
|
|
|
|
|
|
|
|
home-manager = (fetchTarball {
|
2020-08-02 21:58:26 +02:00
|
|
|
url = "https://github.com/rycee/home-manager/archive/152769aed96d4d6f005ab40daf03ec4f5102c763.tar.gz";
|
|
|
|
sha256 = "10svwspmsf46rijzsh0h9nmz1mq2998wcml8yp36mwksgi8695pc";
|
2020-07-06 16:32:41 +02:00
|
|
|
});
|
|
|
|
|
2020-08-28 16:25:10 +02:00
|
|
|
home = confPath: (import "${home-manager}/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;
|
|
|
|
}
|