Merge pull request #62088 from michaelpj/fix/fprintd-state-dir
nixos: add `StateDirectory` for fprintd
This commit is contained in:
commit
841fb9486e
1 changed files with 7 additions and 0 deletions
|
@ -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";
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue