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 = [