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'')