diff --git a/machines/vm-audio.nix b/machines/vm-audio.nix index b117548..3486884 100644 --- a/machines/vm-audio.nix +++ b/machines/vm-audio.nix @@ -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"; + }; + }; }; } diff --git a/user-modules/vscode/default.nix b/user-modules/vscode/default.nix index 14b1149..f8b9748 100644 --- a/user-modules/vscode/default.nix +++ b/user-modules/vscode/default.nix @@ -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 =