mirror of
https://github.com/divnix/digga.git
synced 2024-12-03 15:12:34 +03:00
44623b5979
I originally wanted to use the nix flake to allow users to take advantage of the latest changes. Just so happened that nixpkgs was recently updated with a new version around the same time, and this just adds complexity for no real gain.
28 lines
490 B
Nix
28 lines
490 B
Nix
{ inputs }: with inputs;
|
|
let
|
|
hmModules = { };
|
|
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;
|
|
})
|
|
pkgs.overlay
|
|
];
|
|
|
|
# passed to all nixos modules
|
|
specialArgs = {
|
|
inherit hmModules;
|
|
|
|
overrideModulesPath = "${override}/nixos/modules";
|
|
hardware = nixos-hardware.nixosModules;
|
|
};
|
|
}
|