Skip to content

Commit f837078

Browse files
committed
feat: initialize kraken device and set color to red
1 parent 05cb325 commit f837078

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

hosts/nixos/gaming/configuration.nix

+10
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,16 @@ in {
430430
wantedBy = ["multi-user.target"];
431431
};
432432

433+
systemd.services.kraken = {
434+
enable = true;
435+
description = "liquidctl (kraken aio control)";
436+
script = ''
437+
${pkgs.liquidctl}/bin/liquidctl initialize all
438+
${pkgs.liquidctl}/bin/liquidctl --bus hid --address /dev/hidraw1 set ring color fading FF0000 FF0000 # set color to red
439+
'';
440+
wantedBy = ["multi-user.target"];
441+
};
442+
433443
networking = {
434444
hostName = hostname; # Define your hostname.
435445
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

0 commit comments

Comments
 (0)