From d8aa22756df2ed9186adcaba5227885b7ae3b036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Mon, 9 Jun 2025 00:42:34 +0300 Subject: [PATCH] Add graphical installer image --- hosts/installer-graphical/configuration.nix | 13 +++++++++++++ hosts/installer-graphical/state.nix | 1 + 2 files changed, 14 insertions(+) create mode 100644 hosts/installer-graphical/configuration.nix create mode 100644 hosts/installer-graphical/state.nix diff --git a/hosts/installer-graphical/configuration.nix b/hosts/installer-graphical/configuration.nix new file mode 100644 index 0000000..fa64922 --- /dev/null +++ b/hosts/installer-graphical/configuration.nix @@ -0,0 +1,13 @@ +{ nixpkgs-flake, ... }: +{ + imports = [ + "${nixpkgs-flake}/nixos/modules/installer/cd-dvd/installation-cd-graphical-combined.nix" + ../../shared/base.nix + ]; + + isoImage.squashfsCompression = "gzip -Xcompression-level 1"; + networking.wireless.enable = false; + + #Many installs will need this, and it won't hurt either way + services.qemuGuest.enable = true; +} diff --git a/hosts/installer-graphical/state.nix b/hosts/installer-graphical/state.nix new file mode 100644 index 0000000..ffcd441 --- /dev/null +++ b/hosts/installer-graphical/state.nix @@ -0,0 +1 @@ +{ }