mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +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
|
# 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";
|
||||||
|
|
||||||
|
@ -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";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user