chore: add config options and update dev-docs

This commit is contained in:
asleepyskye 2025-05-02 01:12:33 -04:00
parent 94a3276979
commit a9c3875a95
5 changed files with 133 additions and 78 deletions

View file

@ -103,9 +103,6 @@
process-compose."dev" = let
dataDir = ".nix-process-compose";
pluralkitConfCheck = ''
[[ -f "pluralkit.conf" ]] || (echo "pluralkit config not found, please copy pluralkit.conf.example to pluralkit.conf and edit it" && exit 1)
'';
sourceDotenv = ''
[[ -f ".env" ]] && echo "sourcing .env file..." && export "$(xargs < .env)"
'';
@ -159,7 +156,6 @@
text = ''
${sourceDotenv}
set -x
${pluralkitConfCheck}
exec cargo build --bin ${name}
'';
};
@ -177,7 +173,6 @@
text = ''
${sourceDotenv}
set -x
${pluralkitConfCheck}
exec ${mkBotEnv "dotnet build -c Release -o obj/"}/bin/env
'';
};