nix/host/x86_64-linux/installer/default.nix

33 lines
677 B
Nix

{
inputs,
lib,
pkgs,
...
}:
{
imports = [
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
];
# Required for live iso.
networking.wireless.enable = lib.mkForce false;
# Override my settings to allow SSH logins using root password.
services.openssh.settings = {
PasswordAuthentication = lib.mkForce true;
PermitRootLogin = lib.mkForce "yes";
};
# Needed by installer smh.
# TODO: Find out what it downloads.
environment.systemPackages = with pkgs; [
# tor-browser # NOTE: ???
ghc
];
module = {
package.all = true;
};
}