mirror of
https://github.com/Moe1369/nixos-config.git
synced 2024-10-18 14:14:07 +02:00
Compare commits
No commits in common. "659cc31bc449ae0cc1f31b8e5ed0d80ee6ab386a" and "c28278bd6d3b634dbb9e485f88109e5270580934" have entirely different histories.
659cc31bc4
...
c28278bd6d
@ -34,7 +34,6 @@
|
||||
./modules/system/networking
|
||||
./modules/system/nixsettings
|
||||
./modules/system/shell
|
||||
./modules/system/ssh
|
||||
./modules/system/systemversion
|
||||
./modules/system/upgrades
|
||||
./modules/system/users
|
||||
|
@ -1,11 +0,0 @@
|
||||
{ user, ... }:
|
||||
{
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
settings.KbdInteractiveAuthentication = false;
|
||||
};
|
||||
users.users.${user}.openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEun1YkEfxTpcsQk7ZIwuVTcSsVHjwuKA7xOW4TAi3SE mo@workstation"
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user