Only pass inputs to hosts (contains everything)

This commit is contained in:
ItsDrike 2024-06-26 16:39:33 +02:00
parent 9ab8cf34ac
commit b8c6ed6ca4
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
2 changed files with 4 additions and 4 deletions

View file

@ -39,8 +39,7 @@
}; };
}; };
outputs = {self, nixpkgs, ...} @ inputs: let outputs = {self, nixpkgs, ...} @ inputs: {
in { nixosConfigurations = import ./hosts {inherit inputs;};
nixosConfigurations = import ./hosts {inherit nixpkgs inputs self;};
}; };
} }

View file

@ -1,5 +1,6 @@
{ self, inputs, ... }: { inputs, ... }:
let let
inherit (inputs) self;
inherit (inputs.nixpkgs) lib; inherit (inputs.nixpkgs) lib;
# A list of shared modules that ALL systems need # A list of shared modules that ALL systems need