From a1022262881d0e7e2f4f95fad388c08704421a3f Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sun, 10 Mar 2024 08:04:23 +0300 Subject: [PATCH] Live : Fix sshd params. --- flake.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 7931554..161e9c7 100644 --- a/flake.nix +++ b/flake.nix @@ -232,9 +232,11 @@ modules = [ "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" "${nixpkgs}/nixos/modules/installer/cd-dvd/channel.nix" - { networking.wireless.enable = nixpkgs.lib.mkForce false; } - { systemd.timers.autoupdate.wantedBy = nixpkgs.lib.mkForce [ ]; } - ({ pkgs, ... }: { boot.kernelPackages = nixpkgs.lib.mkForce pkgs.linuxPackages; }) + { networking.wireless.enable = nixpkgs.lib.mkForce false; } + { services.openssh.settings.PasswordAuthentication = nixpkgs.lib.mkForce true; } + { services.openssh.settings.PermitRootLogin = nixpkgs.lib.mkForce "yes"; } + { system.autoUpgrade.enable = nixpkgs.lib.mkForce false; } + ({ pkgs, ... }: { boot.kernelPackages = nixpkgs.lib.mkForce pkgs.linuxPackages; }) ./module/Gnome.nix ./module/RemoteBuild.nix ];