Rename deprecated options

This commit is contained in:
Toast 2023-06-15 13:07:37 +02:00
parent 31c2c681c7
commit dd1c2b3cab
2 changed files with 9 additions and 5 deletions

View file

@ -5,10 +5,12 @@
services.gitea = { services.gitea = {
enable = true; enable = true;
# TODO: Make this not be hardcoded # TODO: Make this not be hardcoded
rootUrl = "http://everest.local:3000";
settings = { settings = {
#server.SSH_PORT = 69; server = {
service.DISABLE_REGISTRATION = lib.mkDefault true; #server.SSH_PORT = 69;
DISABLE_REGISTRATION = lib.mkDefault true;
ROOT_URL = "http://everest.local:3000";
};
}; };
}; };
networking.firewall = { networking.firewall = {

View file

@ -3,8 +3,10 @@
{ {
services.openssh = { services.openssh = {
enable = true; enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
startWhenNeeded = true; startWhenNeeded = true;
permitRootLogin = "no";
passwordAuthentication = false;
}; };
} }