Merge master into staging-next

This commit is contained in:
github-actions[bot]
2021-03-29 12:06:25 +00:00
committed by GitHub
23 changed files with 255 additions and 48 deletions
@@ -280,6 +280,8 @@ in
keep-outputs = true
keep-derivations = true
'' + optionalString (versionOlder (getVersion config.nix.package.out) "2.4pre") ''
# The default (`true') slows Nix down a lot since the build farm
# has so many GC roots.
gc-check-reachability = false
+3 -1
View File
@@ -188,7 +188,8 @@ in
systemd.packages = [ package ];
# we cannot use DynamicUser as we need the the geoclue user to exist for the dbus policy to work
# we cannot use DynamicUser as we need the the geoclue user to exist for the
# dbus policy to work
users = {
users.geoclue = {
isSystemUser = true;
@@ -217,6 +218,7 @@ in
# we can't be part of a system service, and the agent should
# be okay with the main service coming and going
wantedBy = [ "default.target" ];
unitConfig.ConditionUser = "!@system";
serviceConfig = {
Type = "exec";
ExecStart = "${package}/libexec/geoclue-2.0/demos/agent";
@@ -504,7 +504,7 @@ in
path = mkOption {
type = types.path;
example = "/nix/var/nix/profiles/containers/webserver";
example = "/nix/var/nix/profiles/per-container/webserver";
description = ''
As an alternative to specifying
<option>config</option>, you can specify the path to