38 lines
919 B
Nix
38 lines
919 B
Nix
{ self, lib, config, pkgs, ... }: {
|
|
environment.systemPackages = with pkgs; [
|
|
qt6.qtwayland
|
|
kdePackages.breeze
|
|
kdePackages.breeze-icons
|
|
qt6.qtsvg # needed to load breeze icons
|
|
|
|
kdePackages.qqc2-desktop-style
|
|
];
|
|
|
|
qt = {
|
|
enable = true;
|
|
platformTheme = "qt5ct";
|
|
};
|
|
|
|
home-manager.users.${config.main-user} = {
|
|
imports = [ ./home.nix ];
|
|
};
|
|
|
|
nixpkgs.overlays = [(final: prev: {
|
|
qt6Packages = prev.qt6Packages.overrideScope (qfinal: qprev: {
|
|
qt6ct = qprev.qt6ct.overrideAttrs (ctprev: {
|
|
nativeBuildInputs = (builtins.filter (p: p != qfinal.qmake) ctprev.nativeBuildInputs) ++ [ final.cmake ];
|
|
|
|
buildInputs = ctprev.buildInputs ++ (with final.kdePackages; [
|
|
kconfig
|
|
kcolorscheme
|
|
kiconthemes
|
|
]);
|
|
|
|
cmakeFlags = [
|
|
(lib.cmakeFeature "PLUGINDIR" "lib/qt-6/plugins")
|
|
];
|
|
});
|
|
});
|
|
})];
|
|
}
|