summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
authorAlan Pearce2024-05-21 19:33:32 +0200
committerAlan Pearce2024-05-21 19:33:32 +0200
commit07f260339af3c985e0a2998ac37d48e91f48cc97 (patch)
treeee0d38979ccb36623f4b55e6b77155e2a9b4ae34 /system/settings
parenta4d6b88b9a774ab4631a9a8e624f8b713e124521 (diff)
downloadnixfiles-07f260339af3c985e0a2998ac37d48e91f48cc97.tar.lz
nixfiles-07f260339af3c985e0a2998ac37d48e91f48cc97.tar.zst
nixfiles-07f260339af3c985e0a2998ac37d48e91f48cc97.zip
nix: pin flake to channel
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/pin.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/settings/pin.nix b/system/settings/pin.nix
index e282cf66..5f396d17 100644
--- a/system/settings/pin.nix
+++ b/system/settings/pin.nix
@@ -5,4 +5,8 @@ let
 in
 {
   nix.nixPath = lib.mkNixPath sources;
+  nix.registry.nixpkgs.to = {
+    type = "path";
+    path = sources.nixpkgs;
+  };
 }