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 = {
|
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
|
blueman.enable = true; # Bluetooth Support
|
||||||
tumbler.enable = true; # Image/video preview
|
tumbler.enable = true; # Image/video preview
|
||||||
|
|||||||
@@ -7,6 +7,12 @@
|
|||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
|
settings = {
|
||||||
|
PermitRootLogin = "no"; # Prevent root from SSH login
|
||||||
|
PasswordAuthentication = false;
|
||||||
|
KbdInteractiveAuthentication = true;
|
||||||
|
};
|
||||||
|
ports = [ 22 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.auth-keys-hub = {
|
programs.auth-keys-hub = {
|
||||||
|
|||||||
Reference in New Issue
Block a user