dev.tolma.ch in hosts && openssh server
This commit is contained in:
@@ -42,6 +42,10 @@
|
||||
LC_TIME = "ru_RU.UTF-8";
|
||||
};
|
||||
|
||||
networking.hosts = {
|
||||
"127.0.0.1" = [ "dev.tolma.ch" ];
|
||||
};
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver.enable = true;
|
||||
|
||||
@@ -80,6 +84,18 @@
|
||||
configDir = "/home/venya/.config/syncthing"; # Folder for Syncthing's settings and keys
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
ports = [ 222 ];
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
AllowUsers = null; # Allows all users by default. Can be [ "user1" "user2" ]
|
||||
UseDns = true;
|
||||
X11Forwarding = false;
|
||||
PermitRootLogin = "prohibit-password"; # "yes", "without-password", "prohibit-password", "forced-commands-only", "no"
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
fonts = {
|
||||
# https://www.programmingfonts.org/#roboto to check fonts visually
|
||||
|
||||
Reference in New Issue
Block a user