Apply icc color profiles

I have a MAG271CQR.icm file and I want to apply this color correction to my monitor.
How can I apply icc / icm color profiles to my monitors in nixos?

I cannot find any wiki page or discussion for this topic. Anyone tried this already?

Without success i followed the ArchWiki “Wayland” section because of course there is no /usr/share/color/icc/colord/ directory.

I am using Hyprland.

I just got a new laptop and icc calibration would be really helpful to fix a problem with the display hue, have you figure out how to apply the profile on Wayland?

I am using sway

I’ve been just running this imperatively,

colormgr import-profile 'ThinkPad-T14.icc' 

then selecting the profile in GNOME’s color settings. It would be nice to be able to do that via Nix instead.

Thank you for the workaround!

I’ve realized that unfortunately this won’t work as sway hasn’t implemented ICC color profiles yet, hope it gets merged at some point

I have opened a bug colord hardcodes FHS paths · Issue #284338 · NixOS/nixpkgs · GitHub to track this. Maybe someone will want to implement it.

1 Like