2024-08-23 05:04:17 +03:00
|
|
|
{ inputs, lib, ... }: {
|
|
|
|
imports = [
|
|
|
|
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
|
|
|
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
|
2024-08-24 19:55:55 +03:00
|
|
|
];
|
2024-08-23 05:04:17 +03:00
|
|
|
|
2024-08-24 19:55:55 +03:00
|
|
|
networking.wireless.enable = lib.mkForce false;
|
2024-08-23 05:04:17 +03:00
|
|
|
|
2024-08-24 19:55:55 +03:00
|
|
|
# Override my settings to allow SSH logins using root password.
|
|
|
|
services.openssh.settings = {
|
|
|
|
PasswordAuthentication = lib.mkForce true;
|
|
|
|
PermitRootLogin = lib.mkForce "yes";
|
|
|
|
};
|
2024-08-23 05:04:17 +03:00
|
|
|
|
2024-08-24 19:55:55 +03:00
|
|
|
# Root user setup.
|
|
|
|
home.nixos.enable = true;
|
2024-08-24 19:59:18 +03:00
|
|
|
user.root.enable = true;
|
2024-08-23 05:04:17 +03:00
|
|
|
}
|