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