From e4ca5580a3835cd8076c372e79be092b4a6e3533 Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Wed, 30 Aug 2023 19:57:11 -0400 Subject: [PATCH] evalModules because funny --- lib/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index bdf7b99..3ae0b65 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -49,7 +49,10 @@ in { mkHosts = system: names: lib.genAttrs names ( name: - lib.nixosSystem { + # Whats lib.nixosSystem? never heard of her + lib.evalModules { + specialArgs.modulesPath = "${unstable}/nixos/modules"; + modules = builtins.attrValues self.nixosModules ++ importAll "${self}/hosts/${name}" @@ -58,7 +61,8 @@ in { networking.hostName = name; nixpkgs.hostPlatform = system; } - ]; + ] + ++ (import "${unstable}/nixos/modules/module-list.nix"); } ); mkDisko = names: