From 43eaa97cd8ce6f74179271d966e4bc5fe69081e1 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Mon, 3 Jul 2023 22:15:02 -0400 Subject: [PATCH] Tweak recovery iso --- flake.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 8d1edfe..92457bb 100644 --- a/flake.nix +++ b/flake.nix @@ -214,12 +214,19 @@ ]; }; - # Installer iso + # Installer/rescue iso iso_x86_64 = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma5.nix" "${nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix" + ({ pkgs, lib, config, ... }: { + boot.supportedFilesystems = [ "zfs" ]; + boot.zfs.forceImportRoot = false; + # Generated with head -c4 /dev/urandom | od -A none -t x4 + networking.hostId = "9affdaa4"; + environment.systemPackages = with pkgs; [ ]; + }) ]; }; };