Connects midi by default.

This commit is contained in:
Bailey Stevens 2023-10-04 09:05:35 -04:00
parent 001931a1fa
commit 21bf7ee40d
2 changed files with 9 additions and 5 deletions

View File

@ -96,11 +96,11 @@
]
},
"locked": {
"lastModified": 1696417150,
"narHash": "sha256-9b9JcfaA9T7kDt0f31unUqYgTe5S7JMrcZMkHQdKZUE=",
"lastModified": 1696425948,
"narHash": "sha256-7CBgbB3LbW7j6Ziqw+hc2x4FGhBeVBpbsKk/KcZQvFY=",
"ref": "refs/heads/main",
"rev": "2097785400b5eadf9110167eba55290de98691c5",
"revCount": 22,
"rev": "3759f1e5898a6511f095583394d56e9f5939e769",
"revCount": 24,
"type": "git",
"url": "https://fem.mint.lgbt/mmelodies/phyzzy.git"
},

View File

@ -33,7 +33,7 @@
serviceConfig = {
User = "appuser";
Group = "audio";
ExecStart = "${pkgs.mmelodies.synth}/bin/phyzzy -nogui";
ExecStart = "${pkgs.mmelodies.synth}/bin/phyzzy -midiindev 1 -nogui";
Restart = "always";
CPUSchedulingPolicy = "fifo";
@ -41,6 +41,10 @@
};
};
environment.systemPackages = with pkgs.mmelodies; [
synth backend
];
systemd.tmpfiles.rules = [
"d /run/mmelodies 0755 nginx nginx 12h -"
];