Your issue is likely linked with How to get a NixOs image with newer kernel? - #6 by ius
So if you have a phone, the simplest thing you can do to get internet during install is to enable USB tethering to share the phone’s internet (wifi or data) over usb. On android, it’s trivial: just plug the USB cable between the phone and the computer, go to (approximate translation) Settings > Connections > Mobile access point and modem > USB modem and enjoy internet! You can then install the most recent kernel using
boot.kernelPackages = pkgs.linuxPackages_latest;
Otherwise if you don’t have a phone and if the issue is the kernel’s version (which might be the case if kernel 6 works on other distributions), I can imagine two ways to get a more recent kernel directly in the ISO:
- either you are lucky enough and hydra builds it for your… Seems like you already found how to search from it, I don’t know if you can find an image with a kernel more recent than 5.19.
- or you can build your own iso as describe here. If you want the calamares install, it should be as simple as creating a file
iso.nix:
# This module defines a small NixOS installation CD. It does not
# contain any graphical stuff.
{ config, pkgs, ... }:
{
imports = [
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma5.nix>
# Provide an initial copy of the NixOS channel so that the user
# doesn't need to run "nix-channel --update" first.
<nixpkgs/nixos/modules/installer/cd-dvd/channel.nix>
# Get latest kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
];
}
(you also have default setting with gnome version and more… see the folder https://github.com/NixOS/nixpkgs/tree/master/nixos/modules/installer/cd-dvd) and then to compile it with:
$ nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix
the resulting iso will be in result/iso/.
If you are not sure how to use wpa_cli, I guess the Network Manager included in plasma should be much easier to use.
If you are still unable to get wifi working with a recent kernel, it may be worth checking if dmesg or journalctl -e give more details on the hardware errors you might get.