os/extern/default.nix
2021-02-19 23:06:00 -07:00

27 lines
475 B
Nix

{ inputs }: with inputs;
let
hm-modules = { };
in
{
modules = [
home.nixosModules.home-manager
ci-agent.nixosModules.agent-profile
];
overlays = [
nur.overlay
devshell.overlay
(final: prev: {
deploy-rs = deploy.packages.${prev.system}.deploy-rs;
})
];
# passed to all nixos modules
specialArgs = {
inherit hm-modules;
overrideModulesPath = "${override}/nixos/modules";
hardware = nixos-hardware.nixosModules;
};
}