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";