Update to NixOS 24.05
This commit is contained in:
parent
0312fbad3a
commit
501c3466bc
4 changed files with 16 additions and 11 deletions
configuration
|
@ -131,7 +131,10 @@
|
|||
sudo.execWheelOnly = true;
|
||||
|
||||
pam = {
|
||||
enableSSHAgentAuth = true;
|
||||
sshAgentAuth = {
|
||||
enable = true;
|
||||
authorizedKeysFiles = ["/etc/ssh/authorized_keys.d/%u"];
|
||||
};
|
||||
services.sudo.sshAgentAuth = true;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
config,
|
||||
...
|
||||
}: let
|
||||
# Update pending on rewrite of nextcloud news, though there is an
|
||||
# alpha to switch to if it becomes necessary:
|
||||
# https://github.com/nextcloud/news/issues/2610
|
||||
nextcloud = pkgs.nextcloud27;
|
||||
hostName = "nextcloud.${config.services.nginx.domain}";
|
||||
in {
|
||||
|
@ -17,15 +20,16 @@ in {
|
|||
configureRedis = true;
|
||||
|
||||
config = {
|
||||
overwriteProtocol = "https";
|
||||
|
||||
dbtype = "pgsql";
|
||||
dbhost = "/run/postgresql";
|
||||
|
||||
adminuser = "tlater";
|
||||
adminpassFile = config.sops.secrets."nextcloud/tlater".path;
|
||||
};
|
||||
|
||||
defaultPhoneRegion = "AT";
|
||||
settings = {
|
||||
default_phone_region = "AT";
|
||||
overwriteprotocol = "https";
|
||||
};
|
||||
|
||||
phpOptions = {
|
||||
|
@ -37,8 +41,6 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
services.redis.vmOverCommit = true;
|
||||
|
||||
# Ensure that this service doesn't start before postgres is ready
|
||||
systemd.services.nextcloud-setup.after = ["postgresql.service"];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue