nixphone stuff
This commit is contained in:
parent
0348ef1e6a
commit
f0fca1bad4
1 changed files with 433 additions and 236 deletions
12
modules/mobile/ssh.nix
Normal file
12
modules/mobile/ssh.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue