Closed GuterBenutzername closed 2 months ago
what's the use for this?
for naming profiles when added to the bootloader, for if you prefer to be able to have readable names on boot instead of "Generation 53", "Generation 54", etc. nixos-rebuild had this feature, so I just reimplemented it here.
Doesn't system.nixos.tags already give you some customizability?
Yes, but it's useful to have the option, particularly in my usage scenario where it's easier to name profiles after the changes that were made compared to the last one (like a git commit message)
It doesn't work with systemd-boot.
Adds the ability to name profiles, a la nixos-rebuild --profile-name
Quick, dirty, but functional; cleanup is appreciated.