From d130ffb20d6bea749d700bfcf09ed1fcdc2cff28 Mon Sep 17 00:00:00 2001 From: Toast Date: Sun, 15 Dec 2024 16:25:48 +0100 Subject: [PATCH] Common/nix: remove unneeded nixpath workaround, update comment --- roles/common/programs/nix.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/common/programs/nix.nix b/roles/common/programs/nix.nix index de6a729..7a96dbf 100755 --- a/roles/common/programs/nix.nix +++ b/roles/common/programs/nix.nix @@ -58,9 +58,10 @@ }; # 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; }; - # I removed this in the past since I thought that I didn't need it, but turns out comma does :) - nixPath = ["nixpkgs=${systemPkgs}"]; }; }