2025-01-19 09:06:27 +03:00
|
|
|
{
|
|
|
|
inputs,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2025-01-18 21:01:06 +03:00
|
|
|
{
|
2025-01-18 21:20:02 +03:00
|
|
|
imports = [
|
|
|
|
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
|
|
|
|
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
|
|
|
];
|
|
|
|
|
2025-01-19 09:06:27 +03:00
|
|
|
# Required for live iso.
|
2025-01-18 21:20:02 +03:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2025-01-18 22:06:57 +03:00
|
|
|
# Needed by installer smh.
|
2025-01-19 09:06:27 +03:00
|
|
|
# TODO: Find out what it downloads.
|
2025-01-18 22:06:57 +03:00
|
|
|
environment.systemPackages = with pkgs; [
|
2025-01-18 22:13:01 +03:00
|
|
|
# tor-browser # NOTE: ???
|
2025-01-18 22:06:57 +03:00
|
|
|
ghc
|
|
|
|
];
|
|
|
|
|
2025-01-18 21:01:06 +03:00
|
|
|
module = {
|
2025-01-18 21:20:02 +03:00
|
|
|
package.all = true;
|
2025-01-18 21:01:06 +03:00
|
|
|
};
|
2025-01-19 09:51:59 +03:00
|
|
|
|
|
|
|
services.mingetty = {
|
|
|
|
autologinUser = "live";
|
|
|
|
helpLine = ''
|
|
|
|
Welcome! Both live and root users have password "live". Enjoy!
|
|
|
|
'';
|
|
|
|
};
|
2025-01-18 21:01:06 +03:00
|
|
|
}
|