chore(nix): bump nixpkgs 24.05 → 24.11
Three breakages handled:
- hardware.opengl → hardware.graphics (renamed in 24.11). Touches
upboard.nix, douro.nix, batm3.nix, live.nix.
- vaapiIntel dropped — legacy pre-Broadwell driver, removed in
nixpkgs. UP Board (Cherry Trail) and OptiPlex 9030 (Haswell) both
use intel-media-driver, which stays.
- vaapiVdpau renamed → libva-vdpau-driver.
system.stateVersion stays 24.05 — convention is to never bump after
install. Existing Sintra and fresh flashes keep the 24.05 state
semantics; that's correct.
All 8 nixosConfigurations (4 models × {live,installed}) evaluate
clean with zero deprecation warnings on 24.11.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b6169da45d
commit
7c1011d382
9 changed files with 18 additions and 25 deletions
|
|
@ -9,7 +9,7 @@ NixOS module + tooling for deploying bitSpire to ATM hardware (Sintra, tejo, dou
|
|||
```
|
||||
deploy/nixos/
|
||||
├── bitspire-atm.nix # NixOS module: services.bitspire option tree + systemd unit + udev rules
|
||||
├── configuration.nix # Base system (NixOS 24.05, locale, kernel, packages, bitspire user)
|
||||
├── configuration.nix # Base system (NixOS 24.11, locale, kernel, packages, bitspire user)
|
||||
├── live.nix # Live USB variant (squashfs + tmpfs root) — used by mkLiveConfig
|
||||
├── hardware/
|
||||
│ ├── douro.nix # Dell OptiPlex 9030 AIO (stock Douro motherboard; SATA SSD, eGalax touch)
|
||||
|
|
|
|||
|
|
@ -109,12 +109,12 @@ fi
|
|||
|
||||
# Step 2: Format as FAT32
|
||||
# FAT32 volume labels are max 11 chars, so we use a short label.
|
||||
# The kernel finds root by LABEL=nixos-24.05-x86_64 which is on the ISO9660.
|
||||
# The kernel finds root by LABEL=nixos-24.11-x86_64 which is on the ISO9660.
|
||||
# But since we're extracting the ISO, we set the label on the FAT32 partition.
|
||||
# NixOS initrd also searches by /nix-store.squashfs file presence.
|
||||
echo ""
|
||||
echo "--- Step 2: Formatting FAT32 ---"
|
||||
mkfs.fat -F32 -n 'NIXOS2405' "$PART_DEV"
|
||||
mkfs.fat -F32 -n 'NIXOS2411' "$PART_DEV"
|
||||
echo "OK: FAT32 formatted"
|
||||
|
||||
# Step 3: Mount ISO and USB partition
|
||||
|
|
|
|||
|
|
@ -42,12 +42,11 @@
|
|||
};
|
||||
|
||||
hardware = {
|
||||
opengl = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
vaapiIntel
|
||||
vaapiVdpau
|
||||
libva-vdpau-driver
|
||||
libvdpau-va-gl
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -52,14 +52,12 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
# NixOS 24.05 uses hardware.opengl (not hardware.graphics)
|
||||
hardware = {
|
||||
opengl = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
vaapiIntel
|
||||
vaapiVdpau
|
||||
libva-vdpau-driver
|
||||
libvdpau-va-gl
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -78,14 +78,12 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
# NixOS 24.05 uses hardware.opengl (not hardware.graphics)
|
||||
hardware = {
|
||||
opengl = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
vaapiIntel
|
||||
vaapiVdpau
|
||||
libva-vdpau-driver
|
||||
libvdpau-va-gl
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -109,14 +109,12 @@ in
|
|||
};
|
||||
|
||||
# Intel GPU support
|
||||
# NB: nixos-24.05 uses hardware.opengl, not hardware.graphics
|
||||
hardware = {
|
||||
opengl = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
vaapiIntel
|
||||
vaapiVdpau
|
||||
libva-vdpau-driver
|
||||
libvdpau-va-gl
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue