diff --git a/flake.nix b/flake.nix index 0392399..cb9ba84 100644 --- a/flake.nix +++ b/flake.nix @@ -155,10 +155,6 @@ pkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { - systemPkgs = - if stable - then nixpkgs-patched - else nixpkgs-unstable-patched; flakeSelf = self; }; modules = diff --git a/roles/common/programs/nix.nix b/roles/common/programs/nix.nix index 38fbf21..a676fbd 100755 --- a/roles/common/programs/nix.nix +++ b/roles/common/programs/nix.nix @@ -1,5 +1,4 @@ { - systemPkgs, config, lib, flakeSelf, @@ -58,12 +57,6 @@ 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; }; }; }