feat: expose nixosConfigurations to machines

This commit is contained in:
Luj 2024-08-12 18:13:18 +02:00
parent d7e0225487
commit 73ff334895
Signed by: luj
GPG key ID: 6FC74C847011FD83
2 changed files with 60 additions and 57 deletions

View file

@ -14,6 +14,7 @@ in
nixpkgs ? inputs.nixpkgs,
system ? "x86_64-linux",
home-manager ? inputs.home-manager,
self,
}:
let
pkgs = import nixpkgs { inherit system; };
@ -23,6 +24,7 @@ import "${nixpkgs}/nixos/lib/eval-config.nix" {
lib = pkgs.lib.extend (import ./default.nix inputs);
specialArgs = {
inherit inputs;
inherit (self) nixosConfigurations;
};
modules = builtins.attrValues modules ++ [
../machines/base.nix