This commit is contained in:
2025-10-30 18:25:22 +09:00
parent 8ad919eb34
commit 2768bbde11
2 changed files with 7 additions and 10 deletions
-9
View File
@@ -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
+7 -1
View File
@@ -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 = {