forked from pub-solar/os
d51cd34fb7
Subflakes should provide their wares as outputs, so wire up the pkgs flake to reflect that. Due to the unstable nature of flakes, updating the root flake doesn't currently update the subflake lock file. Therefore, add additional logic to flk update script in order to do this behind the scenes. Nix is now pulled in from the "nix" registry flake in order for users to take advantage of improvements to the UI since its last update in nixpkgs.
29 lines
506 B
Nix
29 lines
506 B
Nix
{ inputs }: with inputs;
|
|
let
|
|
hmModules = { };
|
|
in
|
|
{
|
|
modules = [
|
|
home.nixosModules.home-manager
|
|
ci-agent.nixosModules.agent-profile
|
|
];
|
|
|
|
overlays = [
|
|
nix.overlay
|
|
nur.overlay
|
|
devshell.overlay
|
|
(final: prev: {
|
|
deploy-rs = deploy.packages.${prev.system}.deploy-rs;
|
|
})
|
|
pkgs.overlay
|
|
];
|
|
|
|
# passed to all nixos modules
|
|
specialArgs = {
|
|
inherit hmModules;
|
|
|
|
overrideModulesPath = "${override}/nixos/modules";
|
|
hardware = nixos-hardware.nixosModules;
|
|
};
|
|
}
|