mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
hosts/{bootstrap,graphical-installer}: fix config
This commit is contained in:
parent
e00feb1534
commit
d6318cbd7c
@ -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
|
||||
# about the added imports from nixos-generators. In this case, it simply adds
|
||||
@ -23,9 +23,10 @@
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
|
||||
(lib.mkIf (config.formatAttr == "isoImage") {
|
||||
(lib.mkIf (foodogsquaredLib.nixos.isFormat config "isoImage") {
|
||||
isoImage = {
|
||||
isoBaseName = config.networking.hostName;
|
||||
edition = "minimal";
|
||||
|
||||
squashfsCompression = "zstd -Xcompression-level 11";
|
||||
|
||||
|
@ -32,9 +32,11 @@
|
||||
|
||||
# Use my desktop environment configuration without the apps just to make the
|
||||
# closure size smaller.
|
||||
workflows.workflows.a-happy-gnome = {
|
||||
enable = true;
|
||||
extraApps = [ ];
|
||||
workflows = {
|
||||
enable = [ "a-happy-gnome" ];
|
||||
workflows.a-happy-gnome = {
|
||||
extraApps = lib.mkForce [ ];
|
||||
};
|
||||
};
|
||||
|
||||
# Install the web browser of course. What would be a graphical installer
|
||||
@ -62,10 +64,10 @@
|
||||
}
|
||||
|
||||
(lib.mkIf
|
||||
(foodogsquaredLib.isFormat "graphicalIsoImage") {
|
||||
(foodogsquaredLib.nixos.isFormat config "isoImage") {
|
||||
isoImage = {
|
||||
isoBaseName = config.networking.hostName;
|
||||
edition = "A Happy GNOME";
|
||||
edition = "a-happy-gnome";
|
||||
|
||||
squashfsCompression = "zstd -Xcompression-level 12";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user