From 4e733d9e703cbcc164a869079384acb1a4cc1b05 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Wed, 28 Feb 2024 20:18:03 +0800 Subject: [PATCH] hosts/graphical-installer: update conditional for nixos-generators format --- configs/nixos/graphical-installer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/nixos/graphical-installer/default.nix b/configs/nixos/graphical-installer/default.nix index 73fb502d..da65f850 100644 --- a/configs/nixos/graphical-installer/default.nix +++ b/configs/nixos/graphical-installer/default.nix @@ -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 # about the added imports from nixos-generators. In this case, it simply adds @@ -33,7 +33,7 @@ } (lib.mkIf - (config.formatAttr == "isoImage" || config.formatAttr == "graphicalIsoImage") { + (foodogsquaredLib.isFormat "graphicalIsoImage") { isoImage = { isoBaseName = config.networking.hostName; edition = "A Happy GNOME";