From 39caac78df2b0b1f2f1c039501e1b9f007a568ee Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 16 Jan 2025 15:59:08 -0600 Subject: [PATCH] set nixpkgs like isabel said --- lib/generators.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/generators.nix b/lib/generators.nix index 758b06a..9a44d9a 100644 --- a/lib/generators.nix +++ b/lib/generators.nix @@ -33,17 +33,21 @@ let }; mkIso = nixosSystem { - system = "x86_64-linux"; - modules = (nixosModules "lix-module") ++ (selfModules "nix|essentials|iso"); + modules = + [ + { nixpkgs.hostPlatform = "x86_64-linux"; } + ] + ++ (nixosModules "lix-module") + ++ (selfModules "nix|essentials|iso"); specialArgs = commonSpecialArgs; }; mkSystem = hostName: nixosSystem { - system = "x86_64-linux"; modules = [ + { nixpkgs.hostPlatform = "x86_64-linux"; } ] ++ (selfModules ''oizys'') ++ (nixosModules ''lix-module|sops-nix'')