Merge hardware.nix

This commit is contained in:
monologiq 2025-12-24 16:10:21 +01:00
parent 7ff397a7c0
commit 95c39f896c
6 changed files with 36 additions and 55 deletions

View file

@ -101,4 +101,11 @@ in
pulse.enable = true;
jack.enable = true;
};
system.activationScripts.openrgbOff =
mkIf (config.services.hardware.openrgb.startupProfile == "off") ''
mkdir -p /var/lib/OpenRGB
cp ${../config/openrgb/off.orp} /var/lib/OpenRGB/off.orp
chmod 0644 /var/lib/OpenRGB/off.orp
'';
}