diff options
| -rw-r--r-- | modules/users/defin.nix | 2 | ||||
| -rw-r--r-- | modules/users/root.nix | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/modules/users/defin.nix b/modules/users/defin.nix index 44257b7..6f679e2 100644 --- a/modules/users/defin.nix +++ b/modules/users/defin.nix @@ -26,10 +26,12 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILuW75N5K0/83bOgsB/yymgIHoQgaaAJjW9MMDG9s/2p defin@picast2" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPAIiqA0KTtC3QRKGc02o7mFT3S2npIcDs8Zz1Tqlsn+ defin@perkunas" # keys for remote build + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPLx3RgUgbE7THS7hRZypyudEKffj0ppwQfQuxIpPf8H root@zenbook" ]; }; }; + security.sudo.wheelNeedsPassword = false; # nix.settings.trusted-users = [ "@builders" ]; security.pam = { sshAgentAuth.enable = true; diff --git a/modules/users/root.nix b/modules/users/root.nix index f826b77..c1bbdac 100644 --- a/modules/users/root.nix +++ b/modules/users/root.nix @@ -4,6 +4,7 @@ users = { users.root = { hashedPassword = "$y$j9T$YtRkFL3JLAB/zfyr89aFp.$of1IUt84c2i26l6GQWHO2qX0dNiPDZgVGpaNPVyAs24"; + openssh.authorizedKeys.keys = config.users.users.defin.openssh.authorizedKeys.keys; }; }; services.openssh.settings.PasswordAuthentication = false; |
