rename vm iso
This commit is contained in:
parent
88b88d88d8
commit
f022bc0649
@ -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
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user