Make harmonia overlay local

This commit is contained in:
Sandro - 2023-04-04 02:08:52 +02:00
parent 99cead2130
commit 5b5d8eb4dc
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 8 additions and 5 deletions

View File

@ -273,7 +273,6 @@
self.nixosModules.c3d2
c3d2-user-module.nixosModule
harmonia.nixosModules.harmonia
nixos-modules.nixosModule
./config
./modules/audio-server.nix
@ -284,7 +283,7 @@
};
in {
overlays = import ./overlays {
inherit (inputs) bevy-julia bevy-mandelbrot harmonia tracer;
inherit (inputs) bevy-julia bevy-mandelbrot tracer;
};
legacyPackages = lib.attrsets.mapAttrs (_: pkgs: pkgs.appendOverlays overlayList) nixos.legacyPackages;
@ -436,6 +435,13 @@
skyflake.nixosModules.default
harmonia.nixosModules.harmonia
./hosts/hydra
{
nixpkgs.overlays = [
(final: prev: with final; {
harmonia = harmonia.packages.${system}.harmonia.override { pkgs = prev // { rustPlatform = rustPackages_1_66.rustPlatform; }; };
})
];
}
];
};

View File

@ -1,6 +1,5 @@
{ bevy-julia
, bevy-mandelbrot
, harmonia
, tracer
}:
@ -36,8 +35,6 @@ with final; {
commandLineArgs = "--enable-features=VaapiVideoEncoder,VaapiVideoDecoder,CanvasOopRasterization --force-dark-mode";
};
harmonia = harmonia.packages.${system}.harmonia.override { pkgs = prev // { rustPlatform = rustPackages_1_66.rustPlatform; }; };
# hydra flake
hydra = prev.hydra.overrideAttrs (oldAttrs: {
patches = oldAttrs.patches or [ ] ++ [