nix/config/Live.nix

22 lines
540 B
Nix
Raw Normal View History

2025-01-18 21:01:06 +03:00
{ lib, config, inputs, ... }:
let
cfg = config.module.live;
in
{
config = lib.mkIf cfg.enable {
imports = [
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix"
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
];
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";
};
};
}