Start application with 'direnv up'
This commit is contained in:
+10
@@ -32,6 +32,16 @@
|
|||||||
opencode
|
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 = {
|
services.postgres = {
|
||||||
enable = true;
|
enable = true;
|
||||||
initialDatabases = [
|
initialDatabases = [
|
||||||
|
|||||||
Reference in New Issue
Block a user