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:
greyweather committed 2026-07-15 02:38:58 +01:00
1 parent 5fbdbec35f
commit e8f1f83930
23 files changed
+545 -407

No files matched your search

+20 -6
View File
@@ -3,11 +3,15 @@
inputs = {
nixpkgs = {
url = "github:nixos/nixpkgs/nixos-26.05";
url = "github:nixos/nixpkgs/nixos-unstable";
};
nixpkgs-mesa-overlay = {
url = "github:nixos/nixpkgs/e4f9df8a27c2b4871c665368e65bdb6852dd93e6";
};
home-manager = {
url = "github:nix-community/home-manager/release-26.05";
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
@@ -17,7 +21,7 @@
};
stylix = {
url = "github:nix-community/stylix/release-26.05";
url = "github:nix-community/stylix";
inputs.nixpkgs.follows = "nixpkgs";
};
@@ -48,13 +52,19 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nixos-millennium = {
/*nixos-millennium = {
url = "git+https://git.greyweather.dev/greyweather/nixos-millennium";
inputs.nixpkgs.follows = "nixpkgs";
};*/
nix-cachyos-kernel = {
url = "github:xddxdd/nix-cachyos-kernel/release";
};
};
outputs = {self,nixpkgs,home-manager,plasma-manager,stylix,...}@inputs: {
outputs = {self,nixpkgs,nixpkgs-mesa-overlay,home-manager,plasma-manager,stylix,...}@inputs: let
system = "x86_64-linux";
in {
nixosConfigurations = builtins.listToAttrs (map (name: {
inherit name;
value = nixpkgs.lib.nixosSystem {
@@ -76,9 +86,13 @@
];
specialArgs = {
inherit inputs;
inherit system;
hostname = name;
system = "x86-64-linux";
stateVersion = "26.05";
pkgs-mesa-overlay = import nixpkgs-mesa-overlay {
inherit system;
config.allowUnfree = true;
};
};
};
}) ["takamaki" "kitagawa" "nixos-vm"]);