about summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/services/nix/default.nix11
1 files changed, 9 insertions, 2 deletions
diff --git a/system/services/nix/default.nix b/system/services/nix/default.nix
index 15c3a026..afd26fab 100644
--- a/system/services/nix/default.nix
+++ b/system/services/nix/default.nix
@@ -1,8 +1,9 @@
+# vim: ts=2
 {
   config,
   lib,
   pkgs,
-  nixpkgs,
+  inputs,
   ...
 }: {
   nix = {
@@ -10,7 +11,13 @@
     package = pkgs.nixVersions.stable;
     # this can't be in nix settings because of some "type error". See:
     # https://discourse.nixos.org/t/flakes-error-error-attribute-outpath-missing/18044
-    registry.nixpkgs.flake = nixpkgs;
+
+    registry = {
+      nixpkgs.flake = inputs.nixpkgs;
+      n.flake = inputs.nixpkgs;
+      t.flake = inputs.templates;
+    };
+
     gc = {
       automatic = true;
       dates = "weekly";