mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 01:44:40 +02:00
update to nixos 23.05
This commit is contained in:
parent
337679971a
commit
bd978f6b03
12 changed files with 28 additions and 26 deletions
|
@ -18,9 +18,11 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
httpPort = cfg.port;
|
||||
rootUrl = "https://code.${domain}";
|
||||
settings = {
|
||||
server = {
|
||||
HTTP_PORT = cfg.port;
|
||||
ROOT_URL = "https://code.${domain}";
|
||||
};
|
||||
session.COOKIE_SECURE = true;
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
ui.DEFAULT_THEME = "arc-green";
|
||||
|
|
|
@ -53,7 +53,7 @@ in
|
|||
config = lib.mkIf cfg.enable {
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud25;
|
||||
package = pkgs.nextcloud26;
|
||||
hostName = "cloud.${domain}";
|
||||
maxUploadSize = cfg.maxSize;
|
||||
autoUpdateApps.enable = true;
|
||||
|
|
|
@ -13,8 +13,10 @@ in
|
|||
# Enable the OpenSSH daemon.
|
||||
enable = true;
|
||||
# Be more secure
|
||||
permitRootLogin = "no";
|
||||
passwordAuthentication = false;
|
||||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
# Opens the relevant UDP ports.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue