summaryrefslogtreecommitdiff
path: root/modules/users
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2026-09-23 13:37:50 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2026-09-23 13:37:50 -0600
commitd4fa3a3658f08292b9ea59df47354ff6bc996e26 (patch)
treea70892c1ed890546c838c1a5cf8a652951ee4de4 /modules/users
parentaad428954749e0d2cce593a7807039dc508c2a94 (diff)
parenta4788434a1a9c8ec3afe89031f08540e36060a8c (diff)
Merge branch 'master' of ssh://bosco:/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;