Lots of changes

This commit is contained in:
Paul-Mathias Logue 2025-12-14 14:51:20 +01:00
parent d4d7833561
commit 4abedcce78
2 changed files with 63 additions and 13 deletions

View file

@ -9,7 +9,8 @@ let
done
'';
in
{
{
# I2C
environment.systemPackages = with pkgs; [
i2c-tools
lm_sensors
@ -29,15 +30,16 @@ in
# OpenRGB
services.udev.packages = [ pkgs.openrgb ];
services.hardware.openrgb.enable = true;
systemd.services.no-rgb = {
description = "no-rgb";
serviceConfig = {
ExecStart = "${no-rgb}/bin/no-rgb";
Type = "oneshot";
};
after = [ "openrgb.service" ];
requires = [ "openrgb.service" ];
wantedBy = [ "multi-user.target" ];
services.hardware.openrgb = {
enable = true;
startupProfile = "off";
};
# systemd.services.no-rgb = {
# description = "no-rgb";
# serviceConfig = {
# ExecStart = "${no-rgb}/bin/no-rgb";
# Type = "oneshot";
# };
# wantedBy = [ "multi-user.target" ];
# };
}