summary refs log tree commit diff stats
path: root/sys
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-10-04 18:52:11 +0200
committersils <sils@sils.li>2023-10-04 18:52:11 +0200
commit89b336326436711e9bbf227ca9fba570f2218d3a (patch)
treeaaacaf62abcc5243718c6b5775d4d111958375cf /sys
parentfeat(u/sils/packages): add exiftool (diff)
downloadnix-config-89b336326436711e9bbf227ca9fba570f2218d3a.tar.gz
nix-config-89b336326436711e9bbf227ca9fba570f2218d3a.zip
feat(sys/nix): pin nixpkgs of registry to nixpkgs of flake
Diffstat (limited to 'sys')
-rw-r--r--sys/nix/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/nix/default.nix b/sys/nix/default.nix
index 5398c63..9ec76eb 100644
--- a/sys/nix/default.nix
+++ b/sys/nix/default.nix
@@ -1,5 +1,9 @@
-{...}: {
+{nixpkgs, ...}: {
   nix = {
+    registry = {
+      nixpkgs.flake = nixpkgs;
+      n.flake = nixpkgs;
+    };
     channel.enable = false;
     distributedBuilds = false;
     buildMachines = [