Start application with 'direnv up'
This commit is contained in:
+10
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user