chore(OpenLinkHub): Update to 0.3.2

Change-Id: I42cb2d4484cbcfed8d442db092e07e2a46cf3f54
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/921
Reviewed-by: Samuel Shuert <coded@clicks.codes>
Tested-by: Samuel Shuert <coded@clicks.codes>
diff --git a/modules/nixos/cooling/OpenLinkHub/default.nix b/modules/nixos/cooling/OpenLinkHub/default.nix
index 6150765..ff95aae 100644
--- a/modules/nixos/cooling/OpenLinkHub/default.nix
+++ b/modules/nixos/cooling/OpenLinkHub/default.nix
@@ -41,6 +41,9 @@
         mkdir -p ${path}/database/profiles
         mkdir -p /run/udev/rules.d
 
+        mkdir -p ${path}/database/keyboard
+        cp -r -n ${cfg.package}/var/lib/OpenLinkHub/database/keyboard ${path}/database/keyboard
+
         cp ${cfg.config} ${path}/config.json
 
         [ -L ${path}/static ] || ln -s ${cfg.package}/var/lib/OpenLinkHub/static ${path}/static
@@ -63,8 +66,10 @@
       '';
 
       postStop = ''
-        ${pkgs.coreutils}/bin/rm /run/udev/rules.d/99-corsair-openlinkhub-*.rules
+        ${pkgs.coreutils}/bin/rm /var/lib/OpenLinkHub/web
+        ${pkgs.coreutils}/bin/rm /var/lib/OpenLinkHub/static
 
+        ${pkgs.coreutils}/bin/rm /run/udev/rules.d/99-corsair-openlinkhub-*.rules
         ${pkgs.systemd}/bin/udevadm control --reload
         ${pkgs.systemd}/bin/udevadm trigger
       '';