make server work with nixos 23.11

This commit is contained in:
Kopatz
2023-11-25 12:11:47 +01:00
parent 98856a09c5
commit 58eb258629
4 changed files with 5 additions and 3 deletions

View File

@@ -10,6 +10,7 @@ in
services.adguardhome = { services.adguardhome = {
enable = true; enable = true;
settings = { settings = {
schema_version = 20;
users = [ users = [
{ {
name = "admin"; name = "admin";

View File

@@ -7,7 +7,7 @@
users.groups.github-actions-runner = {}; users.groups.github-actions-runner = {};
users.users.github-actions-runner = { users.users.github-actions-runner = {
isSystemUser = true; isSystemUser = true;
passwordFile = config.age.secrets.github-runner-pw.path; hashedPasswordFile = config.age.secrets.github-runner-pw.path;
group = "github-actions-runner"; group = "github-actions-runner";
extraGroups = [ "docker" ]; extraGroups = [ "docker" ];
}; };

View File

@@ -64,12 +64,13 @@ in
spreed = pkgs.fetchNextcloudApp rec { spreed = pkgs.fetchNextcloudApp rec {
url = "https://github.com/nextcloud-releases/spreed/releases/download/v17.1.1/spreed-v17.1.1.tar.gz"; url = "https://github.com/nextcloud-releases/spreed/releases/download/v17.1.1/spreed-v17.1.1.tar.gz";
sha256 = "sha256-LaUG0maatc2YtWQjff7J54vadQ2RE4X6FcW8vFefBh8="; sha256 = "sha256-LaUG0maatc2YtWQjff7J54vadQ2RE4X6FcW8vFefBh8=";
license = "agpl3";
}; };
}; };
phpOptions = { phpOptions = {
upload_max_filesize = "5G"; upload_max_filesize = lib.mkForce "5G";
post_max_size = "5G"; post_max_size = lib.mkForce "5G";
}; };
extraAppsEnable = true; extraAppsEnable = true;
extraOptions.enabledPreviewProviders = [ extraOptions.enabledPreviewProviders = [

Binary file not shown.