feat(binto): add nix gaming with lowL pipewire plus switch to xanmod
This commit is contained in:
parent
b8c5d1d0c7
commit
05ab0ea83a
6 changed files with 15 additions and 2 deletions
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
|
@ -11,6 +11,7 @@
|
|||
../../modules/printer.nix
|
||||
|
||||
./modules/nvidia.nix
|
||||
./modules/nix-gaming.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||
kernelModules = [ "kvm-amd" ];
|
||||
extraModulePackages = with config.boot.kernelPackages; [
|
||||
v4l2loopback
|
||||
|
|
7
hosts/binto/modules/nix-gaming.nix
Normal file
7
hosts/binto/modules/nix-gaming.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
# configuration.nix
|
||||
{
|
||||
nix.settings = {
|
||||
substituters = ["https://nix-gaming.cachix.org"];
|
||||
trusted-public-keys = ["nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="];
|
||||
};
|
||||
}
|
|
@ -1,4 +1,8 @@
|
|||
{ ... }: {
|
||||
{ nix-gaming, ... }: {
|
||||
imports = [
|
||||
nix-gaming.nixosModules.pipewireLowLatency
|
||||
];
|
||||
|
||||
hardware.pulseaudio.enable = false;
|
||||
|
||||
services.pipewire = {
|
||||
|
@ -6,5 +10,6 @@
|
|||
alsa.enable = true;
|
||||
jack.enable = true;
|
||||
pulse.enable = true;
|
||||
lowLatency.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue