rename vm iso

This commit is contained in:
Motiejus Jakštys 2024-12-02 20:23:43 +02:00
parent 88b88d88d8
commit f022bc0649

View File

@ -1,8 +1,8 @@
{ {
lib, lib,
self,
modulesPath, modulesPath,
pkgs, pkgs,
config,
... ...
}: }:
{ {
@ -28,10 +28,14 @@
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
isoImage = { isoImage =
isoName = "toolshed-${self.lastModifiedDate}.iso"; let
vsn = "${config.system.nixos.release}${lib.trivial.versionSuffix}";
in
{
isoName = "toolshed-${vsn}.iso";
squashfsCompression = "zstd"; squashfsCompression = "zstd";
appendToMenuLabel = " Toolshed ${self.lastModifiedDate}"; appendToMenuLabel = " Toolshed ${vsn}";
makeEfiBootable = true; # EFI booting makeEfiBootable = true; # EFI booting
makeUsbBootable = true; # USB booting makeUsbBootable = true; # USB booting
}; };