rename vm iso
This commit is contained in:
parent
88b88d88d8
commit
f022bc0649
@ -1,8 +1,8 @@
|
||||
{
|
||||
lib,
|
||||
self,
|
||||
modulesPath,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
@ -28,13 +28,17 @@
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
isoImage = {
|
||||
isoName = "toolshed-${self.lastModifiedDate}.iso";
|
||||
squashfsCompression = "zstd";
|
||||
appendToMenuLabel = " Toolshed ${self.lastModifiedDate}";
|
||||
makeEfiBootable = true; # EFI booting
|
||||
makeUsbBootable = true; # USB booting
|
||||
};
|
||||
isoImage =
|
||||
let
|
||||
vsn = "${config.system.nixos.release}${lib.trivial.versionSuffix}";
|
||||
in
|
||||
{
|
||||
isoName = "toolshed-${vsn}.iso";
|
||||
squashfsCompression = "zstd";
|
||||
appendToMenuLabel = " Toolshed ${vsn}";
|
||||
makeEfiBootable = true; # EFI booting
|
||||
makeUsbBootable = true; # USB booting
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user