From 91314cec2aad2e9646f98ccd2aafb08cf5b798b2 Mon Sep 17 00:00:00 2001 From: "Simon R. - fantomitechno" Date: Wed, 24 Jun 2026 16:15:30 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20live=20iso?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flake.nix | 11 +++++++++++ modules/installer.nix | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 modules/installer.nix diff --git a/flake.nix b/flake.nix index 48d844c..1d4ac2b 100644 --- a/flake.nix +++ b/flake.nix @@ -80,6 +80,17 @@ # Servers conseil = commonSystem "conseil"; fant0mib0t = commonSystem "fant0mib0t"; + + # Installer + # nix build --no-link --print-out-paths ".#installer" + installer = nixpkgs.lib.nixosSystem { + inherit system; + modules = [ + ./modules/installer.nix + ]; + }; + }; + installer = self.outputs.nixosConfigurations.installer.config.system.build.isoImage; }; } diff --git a/modules/installer.nix b/modules/installer.nix new file mode 100644 index 0000000..c708e5b --- /dev/null +++ b/modules/installer.nix @@ -0,0 +1,35 @@ +{ + lib, + modulesPath, + pkgs, + ... +}: +{ + imports = [ + (modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix") + ]; + networking = { + hostName = "fantomitechn-installer"; + wireless = { + enable = lib.mkForce false; + iwd.enable = true; + }; + }; + + environment.systemPackages = with pkgs; [ + btop + curl + dig + duf + ]; + + nix = { + settings.experimental-features = [ + "nix-command" + "flakes" + ]; + }; + time.timeZone = "Europe/Paris"; + i18n.defaultLocale = "en_US.UTF-8"; + system.stateVersion = "26.05"; +} -- 2.51.2