Added wprsd service

This commit is contained in:
Jan-Bulthuis 2025-04-16 15:23:22 +02:00
parent 2e36274256
commit 16b781f11d
2 changed files with 24 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ lib, ... }:
{ lib, pkgs, ... }:
{
imports = [
@ -51,5 +51,26 @@
size = 6 * 1024;
}
];
# User for audio mixing
users.users.mixer = {
isSystemUser = true;
group = "mixer";
};
# wprsd service
systemd.services.mixer = {
description = "Carla Service";
wantedBy = [ "default.target" ];
after = [ "network.target" ];
serviceConfig = {
ExecStart = "${pkgs.wprs}/bin/wprsd";
Environment = "RUST_BACKTRACE=1";
Restart = "always";
RestartSec = 5;
User = "mixer";
Group = "mixer";
};
};
};
}

View File

@ -29,6 +29,7 @@ in
"vscode-extension-github-copilot"
"vscode-extension-github-copilot-chat"
"vscode-extension-ms-vsliveshare-vsliveshare"
"vscode-extension-ms-vscode-remote-remote-ssh"
];
desktop.theming.fonts.extraFonts = [ cfg.codeFont ];
@ -48,6 +49,7 @@ in
github.copilot-chat
tomoki1207.pdf
ms-vsliveshare.vsliveshare
ms-vscode-remote.remote-ssh
];
userSettings =