Update configs to fix updates, and some minor tweaks
This commit is contained in:
parent
613807c83f
commit
5fb3e5ed7a
|
@ -158,8 +158,8 @@
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
layout = "us";
|
xkb.layout = "us";
|
||||||
xkbVariant = "";
|
xkb.variant = "";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable networking
|
# Enable networking
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
{
|
{
|
||||||
|
inputs,
|
||||||
|
outputs,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
|
@ -7,9 +9,13 @@
|
||||||
users.groups.aria2 = {};
|
users.groups.aria2 = {};
|
||||||
users.users.aria2.isSystemUser = true;
|
users.users.aria2.isSystemUser = true;
|
||||||
|
|
||||||
|
sops.secrets."rpcSecret".mode = "0440";
|
||||||
|
sops.secrets."rpcSecret".owner = config.users.users.aria2.name;
|
||||||
|
|
||||||
services.aria2 = {
|
services.aria2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
downloadDir = "/var/lib/media";
|
downloadDir = "/var/lib/media";
|
||||||
rpcListenPort = 6969;
|
rpcListenPort = 6969;
|
||||||
|
rpcSecretFile = config.sops.secrets."rpcSecret".path;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
#Increase opcache string buffer
|
#Increase opcache string buffer
|
||||||
phpOptions."opcache.interned_strings_buffer" = "23";
|
phpOptions."opcache.interned_strings_buffer" = "23";
|
||||||
# Further forces Nextcloud to use HTTPS
|
# Further forces Nextcloud to use HTTPS
|
||||||
extraOptions = {
|
settings = {
|
||||||
overwriteprotocol = "https";
|
overwriteprotocol = "https";
|
||||||
default_phone_region = "NL";
|
default_phone_region = "NL";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue