nixos: add StateDirectory for fprintd

This commit is contained in:
Michael Peyton Jones 2019-05-26 14:24:10 +01:00
parent bfc2ea774e
commit 9131bf59a7
No known key found for this signature in database
GPG Key ID: 86A43C24A728F66D

View File

@ -50,6 +50,13 @@ in
systemd.packages = [ cfg.package ];
# The upstream unit does not use StateDirectory, and will
# fail if the directory it needs is not present. Should be
# fixed when https://gitlab.freedesktop.org/libfprint/fprintd/merge_requests/5
# is merged.
systemd.services.fprintd.serviceConfig.StateDirectory = "fprint";
};
}