From da453eb17db440873f768180bcb41e7d8b93f7c8 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Thu, 12 Jun 2025 01:05:18 +0900 Subject: [PATCH] fix(nixos): update editions - Drop legacy 23.11 support; now only 24.11 or later is allowed - Fallback to "graphical" edition except 24.11 - Do not display "graphical" edition to users; it is not supported in 24.11 --- quickget | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/quickget b/quickget index 89b4ca6..08da499 100755 --- a/quickget +++ b/quickget @@ -882,7 +882,8 @@ function releases_nixos() { } function editions_nixos() { - echo minimal plasma gnome + # TODO: Remove "plasma" and "gnome" editions and use only "graphical" after 24.11 support ends (expected in NixOS 25.11) + echo minimal plasma6 gnome } function releases_nwg-shell() { @@ -2241,13 +2242,12 @@ function get_nitrux() { function get_nixos() { local HASH="" - # Adapt the plasma edition according to the NixOS release + # NixOS "gnome" and "plasma" ISOs are unified as "graphical" since 25.05 + # https://github.com/NixOS/nixpkgs/pull/355893 case "${EDITION}" in - plasma) - if [ "${RELEASE}" == "23.11" ]; then - EDITION+="5" - else - EDITION+="6" + plasma6|gnome) + if [[ "${RELEASE}" == "25.05" || "${RELEASE}" == "unstable" ]]; then + EDITION="graphical" fi ;; esac