This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
nix-auto-installer/installer.nix
T
beatzaplentyandClaude Sonnet 5 a90e736743 Simplify installer into shared common.nix + per-platform targets
Replaces the single monolithic installer.nix (preserved as
installer_old.nix for reference) with a shared common.nix carrying the
install-script/user/SSH baseline, consumed by per-platform targets
(installer.nix for netboot/ISO, new proxmox-lxc.nix for the Proxmox
LXC-based flow). flake.nix drops the nixos-generators input in favor
of building images directly from each nixosConfiguration's
system.build.isoImage/tarball.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-19 13:12:46 +10:00

59 lines
847 B
Nix

{ pkgs, modulesPath, ... }:
{
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
];
# networking.useDHCP = true;
time.timeZone = "Australia/Brisbane";
services.openssh.enable = true;
services.openssh.settings = {
PermitRootLogin = "yes";
};
environment.systemPackages = with pkgs; [
git
curl
jq
parted
e2fsprogs
btrfs-progs
util-linux
disko
];
# environment.etc."auto-install.sh" = {
# source = ./auto-install.sh;
# mode = "0755";
# };
# users.users.root = {
# initialPassword = "nixos";
# };
users.users.nixos = {
isNormalUser = true;
extraGroups = [
"wheel"
];
};
# Only for ISO/Linode serial environments if required
# NOT for LXC
#
# boot.kernelParams = [
# "console=ttyS0,19200n8"
# ];
}