World config and inventories
This commit is contained in:
@@ -46,6 +46,15 @@
|
||||
${pkgs.podman}/bin/podman run -e POSTGRES_USER=nodecames -e POSTGRES_PASSWORD=nodecames-dev -e POSTGRES_DB=nodecames --volume ./.postgres:/var/lib/postgresql -p 127.0.0.1:5432:5432 postgres:18.4 &> .postgres/postgres.log &
|
||||
'';
|
||||
|
||||
test-archipelago = pkgs.writeShellApplication {
|
||||
name = "archipelago";
|
||||
text = ''
|
||||
TMP_HOME=$(mktemp -d)
|
||||
HOME=$TMP_HOME ${pkgs.archipelago}/bin/archipelago --update_settings
|
||||
ln -s ${nodecames-apworld} "$TMP_HOME/.local/share/Archipelago/worlds/nodecames.apworld"
|
||||
HOME=$TMP_HOME ${pkgs.archipelago}/bin/archipelago
|
||||
'';
|
||||
};
|
||||
in {
|
||||
packages.${system} = {
|
||||
default = self.packages.${system}.nodecames;
|
||||
@@ -56,6 +65,7 @@
|
||||
default = self.apps.${system}.nodecames;
|
||||
nodecames = { type = "app"; program = "${nodecames-launcher}/bin/nodecames"; };
|
||||
postgres-server = { type = "app"; program = "${postgres-server}/bin/postgres-server"; };
|
||||
archipelago = { type = "app"; program = "${test-archipelago}/bin/archipelago"; };
|
||||
};
|
||||
|
||||
devShells.${system} = {
|
||||
|
||||
Reference in New Issue
Block a user