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

+43
View File
@@ -0,0 +1,43 @@
{
pkgs,
config,
...
}: {
security.sudo = {
enable = true;
extraRules = [{
commands = [
{
command = "${pkgs.systemd}/bin/systemctl poweroff";
options = [ "NOPASSWD" ];
}
{
command = "${pkgs.systemd}/bin/shutdown";
options = [ "NOPASSWD" ];
}
{
command = "${pkgs.systemd}/bin/systemctl reboot";
options = [ "NOPASSWD" ];
}
{
command = "${pkgs.systemd}/bin/reboot";
options = [ "NOPASSWD" ];
}
{
command = "${pkgs.efibootmgr}/bin/efibootmgr";
options = [ "NOPASSWD" ];
}
{
command = "${pkgs.efibootmgr}/bin/efibootdump";
options = [ "NOPASSWD" ];
}
];
users = [ "grey" ];
}];
extraConfig = with pkgs; ''
Defaults:grey secure_path="${lib.makeBinPath [
systemd
]}:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin"
'';
};
}