diff --git a/flake.nix b/flake.nix index 2b03ea5..de75be2 100644 --- a/flake.nix +++ b/flake.nix @@ -39,8 +39,7 @@ }; }; - outputs = {self, nixpkgs, ...} @ inputs: let - in { - nixosConfigurations = import ./hosts {inherit nixpkgs inputs self;}; + outputs = {self, nixpkgs, ...} @ inputs: { + nixosConfigurations = import ./hosts {inherit inputs;}; }; } diff --git a/hosts/default.nix b/hosts/default.nix index e334112..d5e7492 100644 --- a/hosts/default.nix +++ b/hosts/default.nix @@ -1,5 +1,6 @@ -{ self, inputs, ... }: +{ inputs, ... }: let + inherit (inputs) self; inherit (inputs.nixpkgs) lib; # A list of shared modules that ALL systems need