all repos — nixfiles @ f14c2285e9a0213aa0beed894bfb94c837ced31f

System and user configuration, managed by nix and home-manager

nix: automatically pin nixpkgs to flake input

Alan Pearce
commit

f14c2285e9a0213aa0beed894bfb94c837ced31f

parent

200b52fdb263cb2cf77856a70dc5fa9d05a6ad51

1 file changed, 11 insertions(+), 0 deletions(-)

changed files
A user/settings/pin.nix
@@ -0,0 +1,11 @@
+{ attrs, ... }: +let + inherit (attrs) nixpkgs; +in +{ + nix = { + registry = { + nixpkgs.flake = nixpkgs; + }; + }; +}