I installed NixOS on a Dell XPS 13 9365 using the recommended graphical GNOME installer.
After the installation finished successfully, I selected the “Linux Boot Manager” with the highest boot priority, but it won’t boot into NixOS.
The Dell diagnostic tool (SupportAssist) runs automatically and reports “Hard Drive - Not installed”.
BIOS settings:
- disable secure boot
- SATA operation: AHCI
- boot mode: UEFI
- “Linux Boot Manager” with the highest boot priority
What I have tried so far:
- Update the BIOS to the latest version (2.24.0)
- Reinstall using the method from the NixOS Wiki NixOS Installation Guide - NixOS Wiki
- Reinstall using the manual method from the NixOS manual NixOS Manual
- Change boot mode to Legacy and reinstall
- Include the next closest hardware-config from nixos-hardware/dell/xps/13-9360/default.nix at 9a763a7acc4cfbb8603bb0231fec3eda864f81c0 · NixOS/nixos-hardware · GitHub. There is no config available for the XPS 13 9365.
Nothing worked.
I don’t know what to try next, as I don’t get any error messages other than “Hard Drive - Not installed”.
Is there a way to debug this more effectively?
I just learned about nix and have very limited experience.
Information about the hardware: The Dell XPS 13 9365 is a 2-in-1 Laptop from 2018 with an Intel i7-8500Y CPU and 8 GB of RAM.
hardware-configuration.nix (Comments removed):
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/7b63638b-456b-481c-8ab9-b5ae5dae4e5e";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/EA38-28A6";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/b17424c5-a9b2-4140-88f0-67159de56e5f"; }
];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
configuration.nix (most comments removed):
{ config, lib, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
# <nixos-hardware/dell/xps/13-9360/default.nix>
./hardware-configuration.nix
];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Set your time zone.
time.timeZone = "Europe/Berlin";
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# Configure keymap in X11
services.xserver.xkb.layout = "de";
# services.xserver.xkb.options = "eurosign:e,caps:escape";
# Define a user account. Don't forget to set a password with ‘passwd’.
users.users.mbaer = {
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
packages = with pkgs; [
vim
];
};
system.stateVersion = "23.11"; # Did you read the comment?
}