mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-11-29 15:04:11 +03:00
17 lines
460 B
Nix
17 lines
460 B
Nix
{ config, lib, modulesPath, ... }:
|
|
{
|
|
imports = [
|
|
"${toString modulesPath}/installer/cd-dvd/installation-cd-base.nix"
|
|
];
|
|
|
|
# for installer
|
|
isoImage.isoName = "nixos.iso";
|
|
|
|
# override installation-cd-base and enable wpa and sshd start at boot
|
|
systemd.services.wpa_supplicant.wantedBy = lib.mkForce [ "multi-user.target" ];
|
|
systemd.services.sshd.wantedBy = lib.mkForce [ "multi-user.target" ];
|
|
|
|
formatAttr = "isoImage";
|
|
filename = "*.iso";
|
|
}
|