diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2026-09-19 10:58:32 -0600 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2026-09-19 10:58:54 -0600 |
| commit | 2dceb10a4b16d487444079a36b9287216dd8593c (patch) | |
| tree | 8334df08aec84c8f02e7daabd83b74cebd2c0fa8 | |
| parent | 90f94b65dec63dff48df78213f987a5dfd15a6b2 (diff) | |
testing remote build
| -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; |
