Common/nix: remove now redundant system nixpkgs flake registry
This commit is contained in:
parent
392df35a1c
commit
8f97bc80e3
2 changed files with 0 additions and 11 deletions
|
|
@ -155,10 +155,6 @@
|
||||||
pkgs.lib.nixosSystem {
|
pkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
systemPkgs =
|
|
||||||
if stable
|
|
||||||
then nixpkgs-patched
|
|
||||||
else nixpkgs-unstable-patched;
|
|
||||||
flakeSelf = self;
|
flakeSelf = self;
|
||||||
};
|
};
|
||||||
modules =
|
modules =
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
systemPkgs,
|
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
flakeSelf,
|
flakeSelf,
|
||||||
|
|
@ -58,12 +57,6 @@
|
||||||
type = "github";
|
type = "github";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# Write the system's nixpkgs into the registry to avoid mixing nixpkgs versions
|
|
||||||
# https://dataswamp.org/~solene/2022-07-20-nixos-flakes-command-sync-with-system.html
|
|
||||||
|
|
||||||
# Since 24.05 this is already done for nixpkgs, but it doesn't keep the patches
|
|
||||||
# so I'm keeping this around just in case
|
|
||||||
system.flake = systemPkgs;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue