summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-05-26 18:14:46 -0400
committerFreya Murphy <freya@freyacat.org>2026-05-26 18:14:46 -0400
commit800654b990749cb14b26f45ba6f02a3f24047c8d (patch)
treebe96f408b445867ef55fe97e322f0b7f3687f096 /system
parentmake lib extendable with our additions (diff)
downloaddotfiles-nix-800654b990749cb14b26f45ba6f02a3f24047c8d.tar.gz
dotfiles-nix-800654b990749cb14b26f45ba6f02a3f24047c8d.tar.bz2
dotfiles-nix-800654b990749cb14b26f45ba6f02a3f24047c8d.zip
add openrgb support, and custom rust scheduler
Diffstat (limited to 'system')
-rw-r--r--system/desktops/wayland.nix2
-rw-r--r--system/gaming/default.nix12
2 files changed, 14 insertions, 0 deletions
diff --git a/system/desktops/wayland.nix b/system/desktops/wayland.nix
index ce647ee..382d6a1 100644
--- a/system/desktops/wayland.nix
+++ b/system/desktops/wayland.nix
@@ -26,6 +26,8 @@ in {
environment.variables = {
MOZ_ENABLE_WAYLAND = "1";
NIXOS_OZONE_WL = "1";
+ SDL_VIDEODRIVER = "wayland,x11";
+ SDL_VIDEO_DRIVER = "wayland,x11";
};
programs.xwayland.enable = true;
diff --git a/system/gaming/default.nix b/system/gaming/default.nix
index ead5de0..c68065a 100644
--- a/system/gaming/default.nix
+++ b/system/gaming/default.nix
@@ -21,9 +21,21 @@ in {
services.ananicy = {
enable = true;
+ package = pkgs.ananicy-cpp;
rulesProvider = pkgs.ananicy-rules-cachyos;
};
+ services.hardware.openrgb = {
+ enable = cfg.openrgb.enable;
+ package = pkgs.openrgb-with-all-plugins;
+ };
+
+ services.scx = {
+ enable = true;
+ package = pkgs.scx.rustscheds;
+ scheduler = "scx_pandemonium";
+ };
+
environment.systemPackages = with pkgs; [
winetricks
];