From 77ab79e3b1e12a2a0a7ed61f30219cebc9aa9240 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sun, 18 Feb 2024 22:14:51 +0100 Subject: [PATCH] Add pulseaudio 32bit support. --- nixos/configuration.nix | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index fe9fd1f..fcc0f3c 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -100,6 +100,9 @@ pulse.enable = true; }; + # Enable 32bit support for pulseaudio + hardware.pulseaudio.support32Bit = true; + # Enable OpenGL hardware.opengl = { enable = true; @@ -139,11 +142,10 @@ gamemode ipafont ryzenadj + wineWowPackages.staging + lutris (catppuccin-kde.override { winDecStyles = ["classic" "modern"] ;}) -# catppuccin-gtk -# catppuccin-cursors.frappeRosewater catppuccin-sddm-corners -# (catppuccin-papirus-folders.override { flavor = "frappe"; accent = "pink"; }) ]; # Wireguard settings @@ -187,7 +189,7 @@ users.users.crony = { isNormalUser = true; description = "Crony"; - extraGroups = [ "network" "wheel" "video" "input" "audio" ]; + extraGroups = [ "networkmanager" "wheel" "video" "input" "audio" ]; shell = pkgs.zsh; }; @@ -223,6 +225,16 @@ wantedBy = ["default.target"]; }; + # Esync + systemd.extraConfig = "DefaultLimitNOFILE=1048576"; + + security.pam.loginLimits = [{ + domain = "*"; + type = "hard"; + item = "nofile"; + value = "1048576"; + }]; + # DO NOT CHANGE system.stateVersion = "23.11";