Skip to content
This repository has been archived by the owner on Jan 12, 2025. It is now read-only.

Commit

Permalink
die gruenen
Browse files Browse the repository at this point in the history
  • Loading branch information
pilz0 committed Nov 7, 2024
1 parent cbfd621 commit 3ec9555
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions services.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
];
};

# services.xserver.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
services.xserver.enable = true;

Expand Down Expand Up @@ -89,6 +88,7 @@
appstoreEnable = true;
extraAppsEnable = true;
package = pkgs.nextcloud30;
configureRedis = true;
hostName = "cloud.ketamin.trade";
# home = "";
caching = {
Expand Down Expand Up @@ -118,11 +118,6 @@
};
https = true;
};
services.redis.servers.nextcloud = {
enable = true;
bind = "::1";
port = 6379;
};

services.postgresql = {
ensureDatabases = [ config.services.nextcloud.config.dbname ];
Expand All @@ -134,12 +129,4 @@
];
};
services.postgresqlBackup.databases = [ config.services.nextcloud.config.dbname ];
systemd.services.nextcloud-setup.serviceConfig.ExecStartPost = pkgs.writeScript "nextcloud-redis.sh" ''
#!${pkgs.runtimeShell}
nextcloud-occ config:system:set redis 'host' --value '::1' --type string
nextcloud-occ config:system:set redis 'port' --value 6379 --type integer
nextcloud-occ config:system:set memcache.local --value '\OC\Memcache\Redis' --type string
nextcloud-occ config:system:set memcache.locking --value '\OC\Memcache\Redis' --type string
'';

}

0 comments on commit 3ec9555

Please # to comment.