From 43c9825e49d25fbd2c19abcdeb8f73aee8be2a4c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 14 May 2025 10:50:27 +0200 Subject: ... --- installer-profiles/cd-dvd.nix | 8 +++++++- installer-profiles/netboot.nix | 5 +++++ installer-profiles/nfsroot.nix | 2 ++ 3 files changed, 14 insertions(+), 1 deletion(-) (limited to 'installer-profiles') diff --git a/installer-profiles/cd-dvd.nix b/installer-profiles/cd-dvd.nix index 45291bad..ac12d885 100644 --- a/installer-profiles/cd-dvd.nix +++ b/installer-profiles/cd-dvd.nix @@ -1,7 +1,13 @@ -{ flakeInputs, ... }: +{ flakeInputs, lib, ... }: { imports = [ "${flakeInputs.nixpkgs.outPath}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" ]; + + config = { + isoImage.squashfsCompression = "zstd -Xcompression-level 9"; + system.installer.channel.enable = false; + boot.loader.grub.memtest86.enable = lib.mkForce false; + }; } diff --git a/installer-profiles/netboot.nix b/installer-profiles/netboot.nix index 28e8084d..6e39ebfb 100644 --- a/installer-profiles/netboot.nix +++ b/installer-profiles/netboot.nix @@ -4,4 +4,9 @@ imports = [ "${flakeInputs.nixpkgs.outPath}/nixos/modules/installer/netboot/netboot-minimal.nix" ]; + + config = { + netboot.squashfsCompression = "zstd -Xcompression-level 9"; + system.installer.channel.enable = false; + }; } diff --git a/installer-profiles/nfsroot.nix b/installer-profiles/nfsroot.nix index 6bd875b4..a8f6def6 100644 --- a/installer-profiles/nfsroot.nix +++ b/installer-profiles/nfsroot.nix @@ -8,4 +8,6 @@ "${flakeInputs.nixpkgs.outPath}/nixos/modules/profiles/base.nix" "${flakeInputs.nixpkgs.outPath}/nixos/modules/profiles/installation-device.nix" ]; + + config.system.installer.channel.enable = false; } -- cgit v1.2.3