Added a service for open stage control
This commit is contained in:
parent
c063cf2dac
commit
41867fb653
|
@ -31,6 +31,7 @@
|
|||
pulsemixer
|
||||
adwaita-icon-theme
|
||||
waypipe
|
||||
open-stage-control
|
||||
|
||||
# Add LV2 plugins
|
||||
lsp-plugins
|
||||
|
@ -140,6 +141,27 @@
|
|||
};
|
||||
};
|
||||
|
||||
# Open stage control service
|
||||
systemd.user.services.osc = {
|
||||
description = "OSC Service";
|
||||
wantedBy = [ "default.target" ];
|
||||
after = [
|
||||
"network.target"
|
||||
];
|
||||
requires = [
|
||||
"carla.service"
|
||||
];
|
||||
unitConfig = {
|
||||
ConditionUser = "mixer";
|
||||
};
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.open-stage-control}/bin/open-stage-control --no-gui --load /home/mixer/open-stage-control/session.json --theme /home/mixer/open-stage-control/theme.css";
|
||||
Environment = "\"ELECTRON_RUN_AS_NODE=1\"";
|
||||
Restart = "always";
|
||||
RestartSec = 5;
|
||||
};
|
||||
};
|
||||
|
||||
# Create null sinks
|
||||
services.pipewire.extraConfig.pipewire."91-null-sinks" = {
|
||||
"context.objects" = [
|
||||
|
|
Loading…
Reference in New Issue