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