1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00

add qt configuration

This commit is contained in:
andrey_varnavskiy
2024-12-15 06:26:49 +05:00
parent 6e7c7cccef
commit 9b667bab5a
2 changed files with 19 additions and 1 deletions

View File

@@ -10,7 +10,8 @@
./net.nix
./nh.nix
./nix.nix
./stylix.nix
# ./qt.nix
# ./stylix.nix
./timezone.nix
./user.nix
./zram.nix

17
nixos/modules/qt.nix Normal file
View File

@@ -0,0 +1,17 @@
{ pkgs, ... }: {
environment.variables.QT_QPA_PLATFORMTHEME = "qt5ct";
environment.systemPackages = with pkgs;
[
libsForQt5.qtstyleplugin-kvantum
libsForQt5.qt5ct
];
nixpkgs.config.qt5 = {
enable = true;
platformTheme = "qt5ct";
style = {
package = pkgs.utterly-nord-plasma;
name = "Utterly Nord Plasma";
};
};
}