From f526dc30545752e24526f5e1a06b6252d1e49396 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Mon, 16 Dec 2024 16:54:58 +0100 Subject: [PATCH 1/2] common-gui: enable zram --- systems/PC-Fixe/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systems/PC-Fixe/configuration.nix b/systems/PC-Fixe/configuration.nix index 83a7ee4..e6031f8 100644 --- a/systems/PC-Fixe/configuration.nix +++ b/systems/PC-Fixe/configuration.nix @@ -32,6 +32,8 @@ options hid_apple fnmode=2 ''; + zramSwap.enable = true; + virtualisation.podman.enable = true; services.zfs = { From 1a414771ba91dbfe16285ca5e79288a72f3a88a0 Mon Sep 17 00:00:00 2001 From: nyanloutre Date: Mon, 16 Dec 2024 16:55:16 +0100 Subject: [PATCH 2/2] common-gui: pipewire set clock rate --- systems/common-gui.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/systems/common-gui.nix b/systems/common-gui.nix index 6d8365d..03735e0 100644 --- a/systems/common-gui.nix +++ b/systems/common-gui.nix @@ -113,6 +113,13 @@ alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; + extraConfig.pipewire = { + "10-clock-rate" = { + "context.properties" = { + "default.clock.allowed-rates" = [ 48000 ]; + }; + }; + }; }; udev.packages = with pkgs; [ ledger-udev-rules ]; pcscd.enable = true;