mirror of
https://github.com/nix-community/home-manager
synced 2024-12-12 12:59:49 +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'
|
|
'';
|
|
};
|
|
}
|