This commit is contained in:
Daniel Bulant 2026-09-05 12:06:10 +02:00
parent dd039cab6c
commit 402a348601
No known key found for this signature in database
2 changed files with 14 additions and 0 deletions

View file

@ -41,6 +41,7 @@
], ],
"semantic_tokens": "combined", "semantic_tokens": "combined",
"cli_default_open_behavior": "existing_window", "cli_default_open_behavior": "existing_window",
"file_scan_exclusions": ["**/node_modules", "..."],
"languages": { "languages": {
"JavaScript": { "JavaScript": {
"formatter": { "language_server": { "name": "biome" } }, "formatter": { "language_server": { "name": "biome" } },

View file

@ -118,6 +118,19 @@ in
]; ];
services.hardware.openrgb.enable = true; services.hardware.openrgb.enable = true;
# OpenRGB's GUI shutdown action runs too late during session teardown. Blank
# the controllers while udev and the Nix store are still available instead.
systemd.services.openrgb-shutdown = {
description = "Turn off RGB lighting before shutdown";
wantedBy = [ "shutdown.target" ];
before = [ "shutdown.target" ];
unitConfig.DefaultDependencies = false;
serviceConfig = {
Type = "oneshot";
ExecStart = "${lib.getExe pkgs.openrgb-with-all-plugins} --device B850 --mode static --color 000000 --device Wooting --color 000000";
};
};
# The split RemoteDesktop/ScreenCast portal session emits malformed D-Bus # The split RemoteDesktop/ScreenCast portal session emits malformed D-Bus
# traffic with XDPH 1.4.1. Override capture without replacing Sunshine's # traffic with XDPH 1.4.1. Override capture without replacing Sunshine's
# mutable web-UI configuration. # mutable web-UI configuration.