Move installer generation into it's own repo

This commit is contained in:
SebastianStork 2025-03-11 21:30:35 +01:00
parent 7580c67c31
commit 2793a33d2f
3 changed files with 0 additions and 41 deletions

View file

@ -25,7 +25,6 @@ in
flake = {
nixosConfigurations = lib.mkMerge [
(mkHost "fern")
(mkHost "installer")
(mkHost "north")
(mkHost "stratus")
];

View file

@ -1,37 +0,0 @@
{
modulesPath,
inputs,
pkgs,
lib,
...
}:
{
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
../common.nix
];
isoImage = {
edition = lib.mkForce "seb-minimal";
isoName = lib.mkForce "NixOS.iso";
};
nixpkgs.hostPlatform = "x86_64-linux";
networking = {
wireless.enable = false;
networkmanager.enable = true;
};
environment.systemPackages = [ inputs.disko.packages.${pkgs.system}.default ];
services.openssh.enable = lib.mkForce false;
services.tailscale = {
enable = true;
openFirewall = true;
extraUpFlags = [ "--ssh" ];
# Ephemeral + not pre-approved
authKeyFile = pkgs.writeText "tailscale-key-file" "tskey-auth-kB9BjHT7WP11CNTRL-doCbK8AHoNGZNLiFVbKbNGrCi8CoXXsQ";
};
}

View file

@ -18,6 +18,3 @@ check:
dev shell='default':
nix develop .#{{ shell }} --command zsh
build-iso:
nix run nixpkgs#nixos-generators -- --format iso --flake .#installer -o result