conf
This commit is contained in:
parent
acbe48b736
commit
725e927369
4 changed files with 14 additions and 5 deletions
|
|
@ -62,7 +62,7 @@ in {
|
|||
services.pipewire.extraConfig = {
|
||||
pipewire."99-low-latency" = {
|
||||
context.properties = {
|
||||
default.allowed-rates = [44100 48000 96000];
|
||||
default.allowed-rates = [44100 48000 96000 192000];
|
||||
default.clock.rate = 192000;
|
||||
default.clock.quantum = 32;
|
||||
default.clock.min-quantum = 32;
|
||||
|
|
|
|||
|
|
@ -27,15 +27,13 @@
|
|||
# LIBVA_DRIVER_NAME = "nvidia";
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
# options: production, beta, vulkan_beta, latest
|
||||
package = config.boot.kernelPackages.nvidiaPackages.production;
|
||||
open = false;
|
||||
nvidiaSettings = true;
|
||||
nvidiaSettings = false;
|
||||
};
|
||||
# enable core and mem freq sliders for nvidia
|
||||
services.xserver.deviceSection = ''
|
||||
|
|
|
|||
|
|
@ -4,6 +4,16 @@
|
|||
pkgs,
|
||||
...
|
||||
}: {
|
||||
boot.kernelPatches = [
|
||||
(lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.11")
|
||||
{
|
||||
name = "cros_ec_lpc";
|
||||
patch = pkgs.fetchpatch {
|
||||
url = "https://patchwork.kernel.org/series/840830/mbox/";
|
||||
sha256 = "sha256-7jSEAGInFC+a+ozCyD4dFz3Qgh2JrHskwz7UfswizFw=";
|
||||
};
|
||||
})
|
||||
];
|
||||
# boot.kernelPatches = [
|
||||
# (lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.11")
|
||||
# {
|
||||
|
|
|
|||
|
|
@ -49,7 +49,8 @@ def nr [package] {
|
|||
}
|
||||
|
||||
def rebuild [subcommand] {
|
||||
sudo nix store ping --store ssh://nocomputer
|
||||
sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose
|
||||
# sudo nix store ping --store ssh://nocomputer
|
||||
sudo nice -n19 nixos-rebuild $subcommand --flake /home/tao/projects/NOflake/ --impure --verbose
|
||||
}
|
||||
# def post-rebuild [] {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue