gaming improvements
- switched to cachyos-bore kernel from mainline lts kernel - pinned mesa version at 25 to fix issues with minecraft shaders - switched steam to use the flatpak, since native steam wouldn't launch with the downgraded mesa version
This commit is contained in:
23 files changed
+545
-407
No files matched your search
@@ -2,27 +2,38 @@
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
pkgs-mesa-overlay,
|
||||
...
|
||||
}: let
|
||||
modules-dir = ../../modules;
|
||||
in {
|
||||
imports = [
|
||||
inputs.nixos-millennium.nixosModules.default
|
||||
# inputs.nixos-millennium.nixosModules.default
|
||||
../../global-default.nix
|
||||
./hardware-configuration.nix
|
||||
"${modules-dir}/display-managers/sddm.nix"
|
||||
"${modules-dir}/desktop-environments/plasma6.nix"
|
||||
"${modules-dir}/zsh.nix"
|
||||
./modules/openssh.nix
|
||||
./modules/sudo.nix
|
||||
];
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
extraCompatPackages = [ pkgs.proton-ge-bin ];
|
||||
extraPackages = [ pkgs.hidapi ];
|
||||
};
|
||||
nixpkgs.overlays = [
|
||||
inputs.nix-cachyos-kernel.overlays.pinned
|
||||
(final: prev: {
|
||||
mesa = pkgs-mesa-overlay.mesa;
|
||||
})
|
||||
];
|
||||
|
||||
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-bore-zen4;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
efibootmgr
|
||||
];
|
||||
|
||||
hardware.steam-hardware.enable = true;
|
||||
|
||||
environment.localBinInPath = true;
|
||||
|
||||
programs.dconf.enable = true; # apparently necessary for easyeffects to work in home.nix
|
||||
|
||||
|
||||
Reference in new issue
Block a user