fix: neccessary code changes for nix

This commit is contained in:
2025-07-06 04:21:49 +02:00
parent b580b6917b
commit 6cac2f91ed
4 changed files with 18 additions and 9 deletions

View File

@@ -72,6 +72,7 @@ int main(int argc, char* argv[]) {
chvt_str(argv[1]);
}
// Copy
struct config config = DEFAULT_CONFIG;
char* conf_override = getenv("LIDM_CONF");
char* conf_path = conf_override ? conf_override : "/etc/lidm.ini";