From a798f81cc146d67599d03aba3ebcdee9e6b23718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 10 May 2020 08:45:21 +0100 Subject: [PATCH] higher pulseaudio nice --- nixos/cli.nix | 2 +- nixos/common-hardware.nix | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/cli.nix b/nixos/cli.nix index 4494ad53..56f3a228 100644 --- a/nixos/cli.nix +++ b/nixos/cli.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: { home.packages = with pkgs; [ - (import ./programs/genpass.nix {}) + gdb lldb wget git gnupg curl tmux htop atop pciutils powertop ripgrep-all fd dnsutils du-dust ( pass.withExtensions (ext: [ ext.pass-otp ext.pass-import ext.pass-genphrase ext.pass-audit ext.pass-update ])) hsetroot lm_sensors diff --git a/nixos/common-hardware.nix b/nixos/common-hardware.nix index 510d8328..99a20421 100644 --- a/nixos/common-hardware.nix +++ b/nixos/common-hardware.nix @@ -14,6 +14,10 @@ package = pkgs.pulseaudioFull; support32Bit = true; extraModules = [ pkgs.pulseaudio-modules-bt ]; + daemon.config = { + nice-level= -15; + realtime-scheduling = "yes"; + }; }; hardware.u2f.enable = true;