hosts/graphical-installer: update conditional for nixos-generators format

This commit is contained in:
Gabriel Arazas 2024-02-28 20:18:03 +08:00
parent a91b54bb7b
commit 4e733d9e70
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -1,4 +1,4 @@
{ lib, config, pkgs, ... }: { lib, config, pkgs, foodogsquaredLib, ... }:
# Since this will be exported as an installer ISO, you'll have to keep in mind # Since this will be exported as an installer ISO, you'll have to keep in mind
# about the added imports from nixos-generators. In this case, it simply adds # about the added imports from nixos-generators. In this case, it simply adds
@ -33,7 +33,7 @@
} }
(lib.mkIf (lib.mkIf
(config.formatAttr == "isoImage" || config.formatAttr == "graphicalIsoImage") { (foodogsquaredLib.isFormat "graphicalIsoImage") {
isoImage = { isoImage = {
isoBaseName = config.networking.hostName; isoBaseName = config.networking.hostName;
edition = "A Happy GNOME"; edition = "A Happy GNOME";