diff --git a/flake.lock b/flake.lock index 1efb36a9..d4673270 100644 --- a/flake.lock +++ b/flake.lock @@ -229,15 +229,15 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1686592866, - "narHash": "sha256-riGg89eWhXJcPNrQGcSwTEEm7CGxWC06oSX44hajeMw=", - "owner": "NixOS", + "lastModified": 1686806693, + "narHash": "sha256-fV02i234CjvgAuJ3fgsqxeB3PjZG1tOSnPON0CdaR2A=", + "owner": "CHN-beta", "repo": "nixpkgs", - "rev": "0eeebd64de89e4163f4d3cf34ffe925a5cf67a05", + "rev": "a837e80e8ef20f174b1537e082c84f2ac8ec7473", "type": "github" }, "original": { - "owner": "NixOS", + "owner": "CHN-beta", "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" diff --git a/flake.nix b/flake.nix index 41861652..90971fd7 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,7 @@ inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs.url = "github:CHN-beta/nixpkgs/nixos-unstable"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.05"; flake-utils.url = "github:numtide/flake-utils"; flake-compat = { url = "github:edolstra/flake-compat"; flake = false; }; diff --git a/modules/boot/chn-PC.nix b/modules/boot/chn-PC.nix index 1d784087..a397dbb2 100644 --- a/modules/boot/chn-PC.nix +++ b/modules/boot/chn-PC.nix @@ -4,19 +4,6 @@ { boot = { - # kernelPackages = ( inputs.inputs.nixpkgs.lib.nixosSystem - # { - # system = "x86_64-linux"; - # modules = - # [{ - # nixpkgs = - # { - # hostPlatform = { system = "x86_64-linux"; gcc = { arch = "alderlake"; tune = "alderlake"; }; }; - # config.allowUnfree = true; - # }; - # }]; - # } ).pkgs.linuxPackages_zen; - # kernelPackages = inputs.pkgs.linuxPackages_zen; kernelPackages = inputs.pkgs.linuxPackages_xanmod_latest; initrd.availableKernelModules = [ diff --git a/modules/hardware/sound.nix b/modules/hardware/sound.nix index ee3c66e4..34844ce5 100644 --- a/modules/hardware/sound.nix +++ b/modules/hardware/sound.nix @@ -11,12 +11,5 @@ alsa = { enable = true; support32Bit = true; }; pulse.enable = true; }; - systemd.user.services.pipewire.serviceConfig.Nice = -20; - systemd.user.services.pipewire-pulse.serviceConfig.Nice = -20; - systemd.services.rtkit-daemon.serviceConfig.ExecStart = - [ - "" - "${inputs.pkgs.rtkit.outPath}/libexec/rtkit-daemon --our-realtime-priority=90 --max-realtime-priority=89 --min-nice-level=-19 --scheduling-policy=RR --rttime-usec-max=2000000 --users-max=100 --processes-per-user-max=1000 --threads-per-user-max=10000 --actions-burst-sec=10 --actions-per-burst-max=1000 --canary-cheep-msec=30000 --canary-watchdog-msec=60000" - ]; }; }