mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 17:19:45 +01:00
20 lines
480 B
Nix
20 lines
480 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
qt = {
|
|
enable = true;
|
|
platformTheme = "gtk";
|
|
};
|
|
i18n.inputMethod.enabled = "fcitx5";
|
|
|
|
nmt.script = ''
|
|
assertFileRegex home-path/etc/profile.d/hm-session-vars.sh \
|
|
'QT_QPA_PLATFORMTHEME="gtk2"'
|
|
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'
|
|
'';
|
|
};
|
|
}
|