···85858686- `nitter` requires a `guest_accounts.jsonl` to be provided as a path or loaded into the default location at `/var/lib/nitter/guest_accounts.jsonl`. See [Guest Account Branch Deployment](https://github.com/zedeus/nitter/wiki/Guest-Account-Branch-Deployment) for details.
87878888+- `services.aria2.rpcSecret` has been replaced with `services.aria2.rpcSecretFile`.
8989+ This was done so that secrets aren't stored in the world-readable nix store.
9090+ To migrate, you will have create a file with the same exact string, and change
9191+ your module options to point to that file. For example, `services.aria2.rpcSecret =
9292+ "mysecret"` becomes `services.aria2.rpcSecretFile = "/path/to/secret_file"`
9393+ where the file `secret_file` contains the string `mysecret`.
9494+8895- Invidious has changed its default database username from `kemal` to `invidious`. Setups involving an externally provisioned database (i.e. `services.invidious.database.createLocally == false`) should adjust their configuration accordingly. The old `kemal` user will not be removed automatically even when the database is provisioned automatically.(https://github.com/NixOS/nixpkgs/pull/265857)
89969097- `inetutils` now has a lower priority to avoid shadowing the commonly used `util-linux`. If one wishes to restore the default priority, simply use `lib.setPrio 5 inetutils` or override with `meta.priority = 5`.
+10-5
nixos/modules/services/networking/aria2.nix
···1818 dir=${cfg.downloadDir}
1919 listen-port=${concatStringsSep "," (rangesToStringList cfg.listenPortRange)}
2020 rpc-listen-port=${toString cfg.rpcListenPort}
2121- rpc-secret=${cfg.rpcSecret}
2221 '';
23222423in
2524{
2525+ imports = [
2626+ (mkRemovedOptionModule [ "services" "aria2" "rpcSecret" ] "Use services.aria2.rpcSecretFile instead")
2727+ ];
2828+2629 options = {
2730 services.aria2 = {
2831 enable = mkOption {
···6568 default = 6800;
6669 description = lib.mdDoc "Specify a port number for JSON-RPC/XML-RPC server to listen to. Possible Values: 1024-65535";
6770 };
6868- rpcSecret = mkOption {
6969- type = types.str;
7070- default = "aria2rpc";
7171+ rpcSecretFile = mkOption {
7272+ type = types.path;
7373+ example = "/run/secrets/aria2-rpc-token.txt";
7174 description = lib.mdDoc ''
7272- Set RPC secret authorization token.
7575+ A file containing the RPC secret authorization token.
7376 Read https://aria2.github.io/manual/en/html/aria2c.html#rpc-auth to know how this option value is used.
7477 '';
7578 };
···117120 touch "${sessionFile}"
118121 fi
119122 cp -f "${settingsFile}" "${settingsDir}/aria2.conf"
123123+ echo "rpc-secret=$(cat "$CREDENTIALS_DIRECTORY/rpcSecretFile")" >> "${settingsDir}/aria2.conf"
120124 '';
121125122126 serviceConfig = {
···125129 ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
126130 User = "aria2";
127131 Group = "aria2";
132132+ LoadCredential="rpcSecretFile:${cfg.rpcSecretFile}";
128133 };
129134 };
130135 };