about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--flake/nixosConfigurations/default.nix1
-rw-r--r--system/services/nix/default.nix9
2 files changed, 6 insertions, 4 deletions
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix
index 2a5ce883..4993d6a5 100644
--- a/flake/nixosConfigurations/default.nix
+++ b/flake/nixosConfigurations/default.nix
@@ -13,6 +13,7 @@
       users.soispha = import ../../home-manager;
       extraSpecialArgs = {
         inherit
+          inputs
           pkgs
           sysLib
           # extra information
diff --git a/system/services/nix/default.nix b/system/services/nix/default.nix
index afd26fab..28fc251f 100644
--- a/system/services/nix/default.nix
+++ b/system/services/nix/default.nix
@@ -3,7 +3,8 @@
   config,
   lib,
   pkgs,
-  inputs,
+  nixpkgs,
+  templates,
   ...
 }: {
   nix = {
@@ -13,9 +14,9 @@
     # https://discourse.nixos.org/t/flakes-error-error-attribute-outpath-missing/18044
 
     registry = {
-      nixpkgs.flake = inputs.nixpkgs;
-      n.flake = inputs.nixpkgs;
-      t.flake = inputs.templates;
+      nixpkgs.flake = nixpkgs;
+      n.flake = nixpkgs;
+      t.flake = templates;
     };
 
     gc = {