nixos

NixOS server files. Mirror from https://git.nordgedanken.dev/kubernetes/nixos
git clone git://archive.git.mtrnord.blog/MTRNord/nixos.git
Log | Files | Refs | README

commit 257a6e29f478e22138123645097033a33a2216e9
parent 8b5a064c658ac99ea1d585f33dad985d3602ca51
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon,  6 May 2024 17:44:12 +0200

Add root pubkey

Diffstat:
Mnixos/common/server.nix | 3+--
Mnixos/worker-2/configuration.nix | 1-
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/nixos/common/server.nix b/nixos/common/server.nix @@ -56,8 +56,7 @@ services.openssh = { enable = true; settings = { - # Forbid root login through SSH. - PermitRootLogin = "no"; + PermitRootLogin = "yes"; # Use keys only. Remove if you want to SSH using password (not recommended) PasswordAuthentication = false; X11Forwarding = false; diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix @@ -390,7 +390,6 @@ in { }; }; - services.openssh.settings.PermitRootLogin = "yes"; # Configure your system-wide user settings (groups, etc), add more users as needed. users = { #mutableUsers = false;