Added wprsd service
This commit is contained in:
parent
2e36274256
commit
16b781f11d
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue