Rename deprecated options
This commit is contained in:
parent
31c2c681c7
commit
dd1c2b3cab
2 changed files with 9 additions and 5 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue