Merge pull request #62088 from michaelpj/fix/fprintd-state-dir

nixos: add `StateDirectory` for fprintd
This commit is contained in:
Silvan Mosberger 2019-05-26 19:21:06 +02:00 committed by GitHub
commit 841fb9486e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";
};
}