2021-02-04 06:44:58 +00:00
|
|
|
{ inputs }: with inputs;
|
2021-02-20 06:06:00 +00:00
|
|
|
let
|
2021-02-20 19:42:36 +00:00
|
|
|
hmModules = { };
|
2021-02-20 06:06:00 +00:00
|
|
|
in
|
2021-02-04 06:44:58 +00:00
|
|
|
{
|
|
|
|
modules = [
|
|
|
|
home.nixosModules.home-manager
|
|
|
|
ci-agent.nixosModules.agent-profile
|
|
|
|
];
|
|
|
|
|
|
|
|
overlays = [
|
2021-03-15 03:27:58 +00:00
|
|
|
nix.overlay
|
2021-02-04 06:44:58 +00:00
|
|
|
nur.overlay
|
|
|
|
devshell.overlay
|
2021-02-15 05:17:24 +00:00
|
|
|
(final: prev: {
|
|
|
|
deploy-rs = deploy.packages.${prev.system}.deploy-rs;
|
|
|
|
})
|
2021-03-15 03:27:58 +00:00
|
|
|
pkgs.overlay
|
2021-02-04 06:44:58 +00:00
|
|
|
];
|
2021-02-05 06:42:46 +00:00
|
|
|
|
|
|
|
# passed to all nixos modules
|
|
|
|
specialArgs = {
|
2021-02-21 21:16:52 +00:00
|
|
|
inherit hmModules;
|
2021-02-20 06:06:00 +00:00
|
|
|
|
2021-02-14 02:38:20 +00:00
|
|
|
overrideModulesPath = "${override}/nixos/modules";
|
2021-02-05 06:42:46 +00:00
|
|
|
hardware = nixos-hardware.nixosModules;
|
|
|
|
};
|
2021-02-04 06:44:58 +00:00
|
|
|
}
|