diff --git a/flake.nix b/flake.nix index 8d0ceca..f333523 100644 --- a/flake.nix +++ b/flake.nix @@ -87,14 +87,6 @@ stableTests = lib.mapAttrs' (name: lib.nameValuePair "stable-${name}") (makeIntegrationTests pkgsStable); in lib.optionalAttrs pkgs.stdenv.isLinux (unstableTests // stableTests); }) // { - overlays = { - default = final: prev: let - cranePkgs = makeCranePkgs final; - in { - inherit (cranePkgs) attic attic-client attic-server; - }; - }; - nixosModules = { atticd = { imports = [ diff --git a/flake/overlays.nix b/flake/overlays.nix new file mode 100644 index 0000000..8cd8bef --- /dev/null +++ b/flake/overlays.nix @@ -0,0 +1,14 @@ +{ makeCranePkgs, ... }: +{ + flake.overlays = { + default = final: prev: let + cranePkgs = makeCranePkgs final; + in { + inherit (cranePkgs) + attic + attic-client + attic-server + ; + }; + }; +}