nixphone stuff

This commit is contained in:
Henry Hiles 2026-11-09 20:36:07 -05:00
commit f0fca1bad4
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

12
modules/mobile/ssh.nix Normal file
View file

@ -0,0 +1,12 @@
{
users.users.quadradical.openssh.authorizedKeys.keys = import ../../secrets/keys.nix;
services.openssh = {
enable = true;
openFirewall = true;
settings = {
PasswordAuthentication = false;
AllowUsers = [ "quadradical" ];
PermitRootLogin = "no";
};
};
}