summaryrefslogtreecommitdiff
path: root/modules/users
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2026-09-23 15:12:30 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2026-09-23 15:12:30 -0600
commitecfdf52d8860799bfea4ed0b154bda47fa3bc468 (patch)
treed0f61f5a2fb18c2cbefb92268963bc3a395cc76c /modules/users
parent926905916b69141c55d739a27a58900d0273aee1 (diff)
parentd4fa3a3658f08292b9ea59df47354ff6bc996e26 (diff)
Merge branch 'master' of ssh://myrmexia.xyz:/srv/git/.flake
Diffstat (limited to 'modules/users')
-rw-r--r--modules/users/defin.nix2
-rw-r--r--modules/users/root.nix1
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;