From 94035a593072016d92d481c5b3662a7fa70aaee9 Mon Sep 17 00:00:00 2001 From: Alan Roberts Date: Wed, 5 Jun 2024 08:27:02 -0400 Subject: [PATCH] adding suggested code to get the two latest nixos releses --- quickget | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickget b/quickget index 1493517285..bee09ac3db 100755 --- a/quickget +++ b/quickget @@ -906,7 +906,8 @@ function releases_nitrux() { } function releases_nixos() { - echo unstable 24.05 23.11 23.05 + # unstable plus the two most recent releases + echo unstable $(web_pipe https://nix-channels.s3.amazonaws.com/?delimiter=/ | grep -o -P '(?<=nixos-)[0-9]+.[0-9]+(?=)' | sort -nr | head -n +2) } function editions_nixos() {