···8282 "${self}/modules/${class}/default.nix"
8383 ]
84848585- # get an installer profile from nixpkgs to base the Isos off of
8686- # this is useful because it makes things alot easier
8787- (optionals (class == "iso") [
8888- "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal-new-kernel.nix"
8989- ])
9090-9185 # the next 3 singleton's are split up to make it easier to understand as they do things different things
92869387 # recall `specialArgs` would take be preferred when resolving module structure
+5
modules/iso/default.nix
···11# if your curious why we have no users, its because the nix iso default provides two users
22# nixos and root, both with no passwords so we can change those after we boot into the iso
33# https://github.com/NixOS/nixpkgs/blob/90a153e81e7deb0b2ea1466c8a2f515df1974717/nixos/modules/profiles/installation-device.nix#L32
44+{ modulesPath, ... }:
45{
56 imports = [
77+ # get an installer profile from nixpkgs to base the Isos off of
88+ # this is useful because it makes things alot easier
99+ "${modulesPath}/installer/cd-dvd/installation-cd-minimal-new-kernel.nix"
1010+611 # keep-sorted start
712 ./boot.nix # boot settings
813 ./console.nix # tty configurations