Skip to content

hardcoded paths cause issues with immutable distro packaging #2

@michaelBelsanti

Description

@michaelBelsanti

I have been packaging falcond for NixOS, which requires many of the hardcoded paths be patched before the build. I think it would be a great change to support changing the default path of /usr/share/falcond.

Alongside this change, I think it would be a good improvement to have all the locally configurable files stored in /etc, the recommended FHS directory for static config files. Currently, custom game profiles are stored at /usr/share/falcond/profiles/user and the docs also mention modifying /usr/share/falcond/system.conf to add games.

I would recommend moving custom profiles to /etc/falcond/profiles and adding support for /usr/share/falcond/system.conf for adding additional games. If keeping backwards compatibility is important, it could also check these paths and the legacy paths.

I wanted to hear some thoughts on these changes before working on it, but if you're open to them I can work on a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions