Lots of changes
This commit is contained in:
parent
d4d7833561
commit
4abedcce78
2 changed files with 63 additions and 13 deletions
|
|
@ -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" ];
|
||||
# };
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue