about summary refs log tree commit diff stats
path: root/hosts/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/hosts/default.nix b/hosts/default.nix
index 64768074..fc18d556 100644
--- a/hosts/default.nix
+++ b/hosts/default.nix
@@ -9,6 +9,8 @@
 # If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.
 {
   self,
+  sources,
+  nixpkgs,
   system,
   openPRsNixpkgs,
   packageSets,
@@ -24,18 +26,19 @@
   };
 
   generateHost = _: path:
-    self.inputs.nixpkgs.lib.nixosSystem {
+    nixpkgs.lib.nixosSystem {
       specialArgs = {
         inherit
+          self
           libraries
           modules
-          self
           ;
       };
       modules = [
         {
           _module.args = {
             inherit
+              sources
               # extra package sources
               openPRsNixpkgs
               packageSets