From 6e2f583df1310750c05da1358b2d552b74bf3771 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 4 Sep 2024 19:46:09 -0700 Subject: [PATCH] feat: add wine and audio production modules --- hosts/demeter/default.nix | 2 ++ modules/linux/audio-prod/default.nix | 8 ++++++++ modules/linux/audio/default.nix | 7 +------ modules/linux/wine/default.nix | 12 ++++++++++++ users/youwen/linux/packages/x86_64/default.nix | 1 - 5 files changed, 23 insertions(+), 7 deletions(-) create mode 100644 modules/linux/audio-prod/default.nix create mode 100644 modules/linux/wine/default.nix diff --git a/hosts/demeter/default.nix b/hosts/demeter/default.nix index dc1c782..53d1faf 100644 --- a/hosts/demeter/default.nix +++ b/hosts/demeter/default.nix @@ -14,6 +14,8 @@ ../../modules/linux/core ../../modules/linux/hamachi ../../modules/linux/desktop-portal + ../../modules/linux/audio-prod + ../../modules/linux/wine ../../overlays catppuccin.nixosModules.catppuccin diff --git a/modules/linux/audio-prod/default.nix b/modules/linux/audio-prod/default.nix new file mode 100644 index 0000000..0e2d29c --- /dev/null +++ b/modules/linux/audio-prod/default.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + reaper + yabridge + yabridgectl + ]; +} diff --git a/modules/linux/audio/default.nix b/modules/linux/audio/default.nix index f98240c..fc4b7dd 100755 --- a/modules/linux/audio/default.nix +++ b/modules/linux/audio/default.nix @@ -7,12 +7,7 @@ alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; - - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; + jack.enable = true; }; services.playerctld.enable = true; diff --git a/modules/linux/wine/default.nix b/modules/linux/wine/default.nix new file mode 100644 index 0000000..efc4227 --- /dev/null +++ b/modules/linux/wine/default.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: +{ + environment.systemPackages = with pkgs; [ + winetricks + wine + ]; + nixpkgs.overlays = [ + (self: super: { + wine = super.wineWowPackages.stable; + }) + ]; +} diff --git a/users/youwen/linux/packages/x86_64/default.nix b/users/youwen/linux/packages/x86_64/default.nix index 1e1a586..b5ada02 100644 --- a/users/youwen/linux/packages/x86_64/default.nix +++ b/users/youwen/linux/packages/x86_64/default.nix @@ -16,7 +16,6 @@ in bitwarden-desktop modrinth-app lutris - wine sbctl r2modman ]