diff --git a/nixos/doc/manual/release-notes/rl-2505.section.md b/nixos/doc/manual/release-notes/rl-2505.section.md index 94e9b434d8a90..88f81e130124c 100644 --- a/nixos/doc/manual/release-notes/rl-2505.section.md +++ b/nixos/doc/manual/release-notes/rl-2505.section.md @@ -505,6 +505,8 @@ - `services.gitea` now supports CAPTCHA usage through the `services.gitea.captcha` variable. +- `services.soft-serve` now restarts upon config change. + - `bind.cacheNetworks` now only controls access for recursive queries, where it previously controlled access for all queries. - [`services.mongodb.enableAuth`](#opt-services.mongodb.enableAuth) now uses the newer [mongosh](https://github.com/mongodb-js/mongosh) shell instead of the legacy shell to configure the initial superuser. You can configure the mongosh package to use through the [`services.mongodb.mongoshPackage`](#opt-services.mongodb.mongoshPackage) option. diff --git a/nixos/modules/services/misc/soft-serve.nix b/nixos/modules/services/misc/soft-serve.nix index e9719c02e41e6..0c34d27d75427 100644 --- a/nixos/modules/services/misc/soft-serve.nix +++ b/nixos/modules/services/misc/soft-serve.nix @@ -59,6 +59,8 @@ in environment.SOFT_SERVE_DATA_PATH = stateDir; + restartTriggers = [ configFile ]; + serviceConfig = { Type = "simple"; DynamicUser = true;