From 056d9b8c8296127218280d19a5a3efdc1a3344c6 Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 27 Jun 2026 14:47:48 +0200 Subject: [PATCH] Start application with 'direnv up' --- devenv.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/devenv.nix b/devenv.nix index 449c1e9..a3fec27 100644 --- a/devenv.nix +++ b/devenv.nix @@ -32,6 +32,16 @@ opencode ]; + processes.musicfs = { + after = [ "devenv:processes:postgres" ]; + exec = '' + cargo run -- \ + --source /home/fujin/Music/DDT \ + --mountpoint /tmp/rust-fuse \ + --database "postgresql://fujin@localhost/musicfs?host=$PGHOST" + ''; + }; + services.postgres = { enable = true; initialDatabases = [