mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 06:08:11 +09:00
fix
This commit is contained in:
@@ -1,14 +1,5 @@
|
||||
{ ... }: {
|
||||
services = {
|
||||
openssh = {
|
||||
enable = false; # Enable SSH
|
||||
settings = {
|
||||
PermitRootLogin = "no"; # Prevent root from SSH login
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = true;
|
||||
};
|
||||
ports = [ 22 ];
|
||||
};
|
||||
|
||||
blueman.enable = true; # Bluetooth Support
|
||||
tumbler.enable = true; # Image/video preview
|
||||
|
||||
@@ -3,10 +3,16 @@
|
||||
imports = [ inputs.auth-keys-hub.nixosModules.auth-keys-hub ];
|
||||
|
||||
programs.ssh.startAgent = true;
|
||||
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
PermitRootLogin = "no"; # Prevent root from SSH login
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = true;
|
||||
};
|
||||
ports = [ 22 ];
|
||||
};
|
||||
|
||||
programs.auth-keys-hub = {
|
||||
|
||||
Reference in New Issue
Block a user