mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-03 07:31:03 +01:00
Give users a heads up that option is being removed. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
16 lines
488 B
Nix
16 lines
488 B
Nix
{
|
|
qt = {
|
|
enable = true;
|
|
platformTheme.name = "kde6"; # Should trigger warning and convert to "kde"
|
|
};
|
|
|
|
nmt.script = ''
|
|
# Verify that kde6 gets converted to kde in QT_QPA_PLATFORMTHEME
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
'QT_QPA_PLATFORMTHEME="kde"'
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
'QT_PLUGIN_PATH'
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
'QML2_IMPORT_PATH'
|
|
'';
|
|
}
|