This commit is contained in:
SebastianStork 2025-03-11 00:38:47 +01:00
commit b2aca0a845
11 changed files with 327 additions and 0 deletions

28
formats/minimal-iso.nix Normal file
View file

@ -0,0 +1,28 @@
{
modulesPath,
inputs',
lib,
...
}:
{
imports = [ "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ];
formatAttr = "isoImage";
fileExtension = ".iso";
services.openssh.enable = lib.mkForce false;
networking.wireless.enable = false;
console.keyMap = "de-latin1-nodeadkeys";
environment.systemPackages = [ inputs'.disko.packages.default ];
services.tailscale = {
enable = true;
openFirewall = true;
extraUpFlags = [ "--ssh" ];
# Ephemeral + not pre-approved
authKeyFile = ../tailscale-auth-key.dec;
};
}