Loading
nixos/send: Add `environmentFile` option for securely passing secrets
Currently, NixOS's module for Send (fka. Firefox Send) lacks a way to securely configure the cloud storage backends supported upstream. While it is technically possible to use these backends by passing credentials using the `environment` option, this creates a well known security risk by exposing credentials in the Nix store. This change adds an `environmentFile` option, which accepts a path that is subsequently passed to the `serviceConfig.EnvironmentFile` systemd setting, thereby allowing users to use agenix or other secure secret passing schemes of their chosing. Module maintainer: @moraxyc (hi again!)