Add NixOS and Go
This commit is contained in:
@@ -11,7 +11,8 @@ namespace KernelPanic.Meta
|
||||
["fedora"] = new[] { "38", "39", "40", "41", "42" },
|
||||
["mint"] = new[] { "21", "21.2", "21.3", "22", "22.1" },
|
||||
["arch"] = new[] { "2024.01", "2024.06", "2024.12", "2025.06", "2025.12" },
|
||||
["gentoo"] = new[] { "1.0", "1.1", "1.2", "2.0", "2.1" }
|
||||
["gentoo"] = new[] { "1.0", "1.1", "1.2", "2.0", "2.1" },
|
||||
["nixos"] = new[] { "24.05", "24.11", "25.05", "25.11", "26.05" }
|
||||
};
|
||||
|
||||
public static string GetReleaseLabel(string unitId, int version)
|
||||
@@ -30,6 +31,15 @@ namespace KernelPanic.Meta
|
||||
int safeVersion = Math.Max(1, Math.Min(GachaTuning.MaxVersion, version));
|
||||
return (unitId ?? string.Empty).ToLowerInvariant() switch
|
||||
{
|
||||
"nixos" => safeVersion switch
|
||||
{
|
||||
1 => "nixos-rebuild switch: once per turn, pay 1 Cycle to change governor. performance +20% damage / -25% card Shield; powersave -20% damage / +30% card Shield; schedutil +5% both. Reset to schedutil each wave.",
|
||||
2 => "schedutil: +10% card damage and +10% card Shield",
|
||||
3 => "first successful governor change each wave is free",
|
||||
4 => "performance: +30% damage; powersave: +40% card Shield; penalties remain",
|
||||
5 => "specialisation: successful switches grant performance 5 damage, powersave 6 Shield, or schedutil draw 1; no governor scaling",
|
||||
_ => "--"
|
||||
},
|
||||
"gentoo" => safeVersion switch
|
||||
{
|
||||
1 => "emerge --world: start each wave at Compilation 0/4; +1 per completed round. Card damage: -15%, normal, +10%, +20%, +30%",
|
||||
|
||||
Reference in New Issue
Block a user