hosts/{bootstrap,graphical-installer}: fix config

This commit is contained in:
Gabriel Arazas 2024-06-21 16:10:50 +08:00
parent e00feb1534
commit d6318cbd7c
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 10 additions and 7 deletions

View File

@ -1,4 +1,4 @@
{ lib, config, pkgs, foodogsquaredModulesPath, ... }: { lib, config, pkgs, foodogsquaredLib, foodogsquaredModulesPath, ... }:
# 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
@ -23,9 +23,10 @@
system.stateVersion = "23.11"; system.stateVersion = "23.11";
} }
(lib.mkIf (config.formatAttr == "isoImage") { (lib.mkIf (foodogsquaredLib.nixos.isFormat config "isoImage") {
isoImage = { isoImage = {
isoBaseName = config.networking.hostName; isoBaseName = config.networking.hostName;
edition = "minimal";
squashfsCompression = "zstd -Xcompression-level 11"; squashfsCompression = "zstd -Xcompression-level 11";

View File

@ -32,9 +32,11 @@
# Use my desktop environment configuration without the apps just to make the # Use my desktop environment configuration without the apps just to make the
# closure size smaller. # closure size smaller.
workflows.workflows.a-happy-gnome = { workflows = {
enable = true; enable = [ "a-happy-gnome" ];
extraApps = [ ]; workflows.a-happy-gnome = {
extraApps = lib.mkForce [ ];
};
}; };
# Install the web browser of course. What would be a graphical installer # Install the web browser of course. What would be a graphical installer
@ -62,10 +64,10 @@
} }
(lib.mkIf (lib.mkIf
(foodogsquaredLib.isFormat "graphicalIsoImage") { (foodogsquaredLib.nixos.isFormat config "isoImage") {
isoImage = { isoImage = {
isoBaseName = config.networking.hostName; isoBaseName = config.networking.hostName;
edition = "A Happy GNOME"; edition = "a-happy-gnome";
squashfsCompression = "zstd -Xcompression-level 12"; squashfsCompression = "zstd -Xcompression-level 12";
}; };