Fix qt styling

This commit is contained in:
Emmet
2025-08-31 18:09:00 -05:00
parent b927432d45
commit 80e7c3bc6b
4 changed files with 6 additions and 11 deletions

4
flake.lock generated
View File

@@ -1024,13 +1024,13 @@
"locked": {
"lastModified": 1755997543,
"narHash": "sha256-/fejmCQ7AWa655YxyPxRDbhdU7c5+wYsFSjmEMXoBCM=",
"owner": "danth",
"owner": "nix-community",
"repo": "stylix",
"rev": "f47c0edcf71e802378b1b7725fa57bb44fe85ee8",
"type": "github"
},
"original": {
"owner": "danth",
"owner": "nix-community",
"repo": "stylix",
"type": "github"
}

View File

@@ -107,7 +107,7 @@
inputs.home-manager.follows = "home-manager";
};
stylix.url = "github:danth/stylix";
stylix.url = "github:nix-community/stylix";
emacs-overlay = {
url = "github:nix-community/emacs-overlay";

View File

@@ -12,7 +12,7 @@ in {
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
shared-mime-info
nautilus
kdePackages.dolphin
libreoffice-still
mate.atril
xournalpp

View File

@@ -92,6 +92,8 @@ in
stylix.targets.kitty.enable = true;
stylix.targets.gtk.enable = true;
stylix.targets.kde.enable = true;
stylix.targets.qt.enable = true;
home.file = {
".config/qt5ct/colors/oomox-current.conf".source = config.lib.stylix.colors {
@@ -106,17 +108,10 @@ in
template = builtins.readFile ./Trolltech.conf.mustache;
extension = "";
};
".config/qt5ct/qt5ct.conf".text = pkgs.lib.mkBefore (builtins.readFile ./qt5ct.conf);
};
home.packages = with pkgs; [
kdePackages.breeze kdePackages.breeze-icons pkgs.noto-fonts-monochrome-emoji
];
qt = {
#enable = true;
style.package = pkgs.kdePackages.breeze;
style.name = "breeze-dark";
platformTheme.name = "kde";
};
fonts.fontconfig.defaultFonts = {
monospace = [ config.stylix.fonts.monospace.name ];