From fff8f3042a1b813042bcc815b5dcc95e97d44705 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Mon, 27 May 2024 11:06:04 +0200 Subject: [PATCH] Update to new nix-gaming release --- flake.lock | 7 +++---- flake.nix | 2 +- modules/common/linux/default.nix | 14 +++++++------- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index 0af8e57..1cd2f5f 100644 --- a/flake.lock +++ b/flake.lock @@ -917,17 +917,16 @@ "nixpkgs": "nixpkgs_10" }, "locked": { - "lastModified": 1709168939, - "narHash": "sha256-btWt7NRsA8Hysgin5su77nIdmZZbxsKW5qqyj/bBlF0=", + "lastModified": 1716686274, + "narHash": "sha256-4JiRUWtoEMrfq38jG4O+NP6rcQIhKxEclnSkHvywnf0=", "owner": "fufexan", "repo": "nix-gaming", - "rev": "22586cc4910284c9c7306f19dcd63ac0adbcbcc9", + "rev": "83a47c12d3493f7eb876250d0298d1566a965ce4", "type": "github" }, "original": { "owner": "fufexan", "repo": "nix-gaming", - "rev": "22586cc4910284c9c7306f19dcd63ac0adbcbcc9", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 20bbee4..c1ba942 100644 --- a/flake.nix +++ b/flake.nix @@ -43,7 +43,7 @@ }; eza.url = github:eza-community/eza/v0.12.0; eza.inputs.nixpkgs.follows = "nixpkgs"; - nix-gaming.url = github:fufexan/nix-gaming/22586cc4910284c9c7306f19dcd63ac0adbcbcc9; # until we jump to 24.05 + nix-gaming.url = github:fufexan/nix-gaming; # --- Sources kakoune.url = github:mawww/kakoune; diff --git a/modules/common/linux/default.nix b/modules/common/linux/default.nix index 25c6a38..bcd4901 100644 --- a/modules/common/linux/default.nix +++ b/modules/common/linux/default.nix @@ -65,13 +65,13 @@ let }; rt-audio = { pkgs, ... }: mkIf cfg.enable { - # services.pipewire.lowLatency = { - # # enable this module - # enable = true; - # # defaults (no need to be set unless modified) - # quantum = 32; - # rate = 48000; - # }; + services.pipewire.lowLatency = { + # enable this module + enable = true; + # defaults (no need to be set unless modified) + quantum = 32; + rate = 48000; + }; security.rtkit.enable = true; # Real time configurations