chore(lix): Use the global patch infrastructure for lix

This commit is contained in:
Tom Hubrecht 2024-11-22 12:56:14 +01:00
parent 75b621e298
commit 1f9f56ac91
Signed by: thubrecht
SSH key fingerprint: SHA256:CYNvFo44Ar9qCNnWNnvJVhs0QXO9AZjOLlPeWcSij3Q
2 changed files with 9 additions and 13 deletions

View file

@ -64,23 +64,12 @@ in
}; };
defaults = defaults =
{ { name, nodeMeta, ... }:
pkgs,
name,
nodeMeta,
...
}:
{ {
# Import the default modules # Import the default modules
imports = [ imports = [
./modules ./modules
(import "${sources.lix-module}/module.nix" { (import "${sources.lix-module}/module.nix" { inherit (sources) lix; })
lix = pkgs.applyPatches {
name = "lix-2.90.patched";
src = sources.lix;
patches = [ ./patches/00-disable-installChecks-lix.patch ];
};
})
]; ];
# Include default secrets # Include default secrets

View file

@ -1,4 +1,11 @@
{ {
lix = [
{
_type = "static";
path = ./00-disable-installChecks-lix.patch;
}
];
"nixos-24.05" = [ "nixos-24.05" = [
{ {
_type = "static"; _type = "static";