setup nix gaming repository

This commit is contained in:
Danilo Reyes 2023-06-03 11:41:22 -06:00
parent 9e09c8e651
commit 9803b55e2b
2 changed files with 644 additions and 613 deletions

File diff suppressed because it is too large Load Diff

View File

@ -24,8 +24,6 @@
- [ ] menulibre - [ ] menulibre
- [ ] Misc [0/3] - [ ] Misc [0/3]
- [ ] Figure out how to get rid of xterm - [ ] Figure out how to get rid of xterm
- [ ] wine-discord-ipc-bridge
https://github.com/fufexan/nix-gaming
* ABOUT * ABOUT
@ -48,6 +46,7 @@ let
unstable = import unstable_tarball { unstable = import unstable_tarball {
config = config.nixpkgs.config; config = config.nixpkgs.config;
}; };
nix-gaming = import (builtins.fetchTarball "https://github.com/fufexan/nix-gaming/archive/master.tar.gz");
nextcloud_scrapsync = pkgs.writeScriptBin nextcloud_scrapsync = pkgs.writeScriptBin
"nextcloud_scrapsync" (builtins.readFile ./scripts/nextcloud_scrapsync.sh); "nextcloud_scrapsync" (builtins.readFile ./scripts/nextcloud_scrapsync.sh);
manage_library = pkgs.writeScriptBin manage_library = pkgs.writeScriptBin
@ -68,6 +67,7 @@ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
<home-manager/nixos> <home-manager/nixos>
<agenix/modules/age.nix> <agenix/modules/age.nix>
"${nix-gaming}/modules/pipewireLowLatency.nix"
]; ];
#+end_src #+end_src
@ -169,6 +169,11 @@ services.pipewire = {
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
lowLatency = {
enable = true;
quantum = 64;
rate = 48000;
};
}; };
#+end_src #+end_src
@ -271,6 +276,8 @@ grapejuice # roblox manager
minecraft # minecraft official launcher minecraft # minecraft official launcher
parsec-bin # remote gaming with friends parsec-bin # remote gaming with friends
protonup-qt # update proton-ge protonup-qt # update proton-ge
# nix-gaming.packages.${pkgs.hostPlatform.system}.wine-discord-ipc-bridge
#+end_src #+end_src
*** PRODUCTIVITY *** PRODUCTIVITY