Skip to content

Commit

Permalink
users/hosts: pam ssh auth
Browse files Browse the repository at this point in the history
  • Loading branch information
moni-dz committed Dec 30, 2024
1 parent 6946630 commit dce2cb1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
5 changes: 5 additions & 0 deletions hosts/mistral/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@
};
};

security.pam = {
rssh.enable = true;
services.sudo.rssh = true;
};

users.users.moni = {
isNormalUser = true;
home = "/home/moni";
Expand Down
4 changes: 2 additions & 2 deletions modules/shared/home-manager/vcs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@
};

signing = {
sign-all = "true";
sign-all = true;
backend = "ssh";
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBlr5SHXali3ttWt8ygyWgCW2usWVsBhXebeyi2XKO2Z";
key = "${config.home.homeDirectory}/.ssh/id_ed25519.pub";
};

ui = {
Expand Down
25 changes: 12 additions & 13 deletions secrets/tokens.age
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
age-encryption.org/v1
-> ssh-ed25519 KAuKJQ O9iU42LJgWKHYJ0d3+iC0u6BoUSeHnN8UCpah73SVGM
WNkPuWWAKoovWI7M8PlNfz265IplyYUWjepepVPusIo
-> ssh-ed25519 OasC+A JO+heMatUtcQhPpkQjyXPOEb5phm6UsI1Arc3GWi/zY
8tkoWUHIujzvqyg9P1aj/HLLGtnXPZYhfyz0aEcY4aw
-> ssh-ed25519 KAuKJQ Dou08JG0tQrLMrX9NocRZcjyUdjfdO9d306jf3klxCw
9kGmvL273ceQ7Tgpb1dIjHgRcIdigV2BFHAqIL2NAMM
-> ssh-ed25519 B8KPKQ AmBMW2iNRpIBXG7XLTap8zTjk3I1ROF4Bf/6dHB+GzU
7uwnsSZ2+JhC1QOQw4C2oGGPTLqCjULgEX+Ojhrbfyg
-> ssh-ed25519 KlvyAw AGgrUjoZdpVsvCUvmBzKdSw/bAmIGN3Ap+tDDXWn1jA
N7c9Ppyf82gNpJ6L61oNKkxIcLlI3yak2qcc2CDmOCQ
--- H/Jk7n6QN/Z5MFaT7L+WTSgsJ0XEU2BayvjgOmyk/yM
`m��
�c��d-�5������{^3��R�2�'�t��'=�]q��I�L��E��x�Y�S@c |�P��hJC��/�%�m�f��%ɘ\�ų�*
-> ssh-ed25519 KAuKJQ NvJE4OXwoDXLniWOHJ4zAMOyyxEl8sS1vfHcQvxOQ10
eVMaKCqjR6fawgU/DmzplB2EH9zJ50PuWt0BKx+OYzo
-> ssh-ed25519 OasC+A WIgBDrWHGP9mWXm9ILIHygkt71rNqaUCSwlgxzPUCkc
WHJAvjth5noonJBp7cbcKJcVfOOG3Jc1vk51rP3+r9s
-> ssh-ed25519 KAuKJQ Y0b888V/JfsB0x4D/VwBZK5UOaNNLE71S16K/HJMmy8
v4iL7MPkaesgbMAVPC+osHmdmT/sQhj0Qk23Y18ERYI
-> ssh-ed25519 B8KPKQ nH81ERRbVsgtFgYYNPgvxJZWWBpsLQ8xtMXPFV+OlAQ
lJM+YWQcceF+kicR63eFMiXCx2dbCLlQkwnmjozX1Iw
-> ssh-ed25519 KlvyAw 5KWtwHemQnY2PC223Ocbkkdr2JwyjhBvWxCSszOOPAM
OGnIDO9rrTgxiE9rd3MEicHrlD9ygU7nvDQovye/+qI
--- JQplwOAX1JP4s/KgSWKCLLJbbbHa4m8SfHIwpfVJ8S8
���DX�p����/����b��|�T�mml ��'�sP�g�tN��@K�~Ƹ��\��Ik�t� f2�Vs&����O_�$tɌ�r�?

0 comments on commit dce2cb1

Please sign in to comment.