refactor(theme): remove gtk and qt themes from config to untangle this mess

This commit is contained in:
2025-12-11 13:53:33 +01:00
parent 463c3da732
commit f49fa4359d
4 changed files with 35 additions and 34 deletions

18
flake.lock generated
View File

@@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1763748372, "lastModified": 1765337252,
"narHash": "sha256-AUc78Qv3sWir0hvbmfXoZ7Jzq9VVL97l+sP9Jgms+JU=", "narHash": "sha256-HuWQp8fM25fyWflbuunQkQI62Hg0ecJxWD52FAgmxqY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d10a9b16b2a3ee28433f3d1c603f4e9f1fecb8e1", "rev": "13cc1efd78b943b98c08d74c9060a5b59bf86921",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -22,11 +22,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1763421233, "lastModified": 1765186076,
"narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", "narHash": "sha256-hM20uyap1a0M9d344I692r+ik4gTMyj60cQWO+hAYP8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648", "rev": "addf7cf5f383a3101ecfba091b98d0a1263dc9b8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -43,11 +43,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1765375284, "lastModified": 1765420707,
"narHash": "sha256-McMVhLcwdFA5DS8yVGbk4COlINRkLrN1UTAymY416xQ=", "narHash": "sha256-lX0WxWosQbm3DrZhscVTiLLpJcoZvaQaZoP+eNt75wE=",
"owner": "noctalia-dev", "owner": "noctalia-dev",
"repo": "noctalia-shell", "repo": "noctalia-shell",
"rev": "a47559c1c6cdaafb12d0280e4f4e76db5767d39b", "rev": "298b2f5c794d4641cde21cf20422224bf8a60f99",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -100,8 +100,6 @@
# system packages # system packages
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
adwaita-qt
adwaita-qt6
efibootmgr efibootmgr
neovim neovim
vim vim

View File

@@ -58,32 +58,30 @@
}; };
}; };
# set gtk theme ## set gtk theme
gtk = { #gtk = {
enable = true; # enable = true;
theme = { # theme = {
name = "Adwaita-dark"; # name = "Adwaita-dark";
package = pkgs.gnome-themes-extra; # package = pkgs.gnome-themes-extra;
}; # };
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1; # gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
gtk4.extraConfig.gtk-application-prefer-dark-theme = 1; # gtk4.extraConfig.gtk-application-prefer-dark-theme = 1;
}; #};
#
# set qt theme ## set qt theme
qt = { #qt = {
enable = true; # enable = true;
platformTheme.name = "gtk"; # platformTheme.name = "gtk";
style = { # style = {
name = "adwaita-dark"; # name = "adwaita-dark";
package = pkgs.adwaita-qt; # package = pkgs.adwaita-qt;
}; # };
}; #};
# set env vars # set env vars
home.sessionVariables = { home.sessionVariables = {
EDITOR = "vim"; EDITOR = "vim";
#QT_QPA_PLATFORMTHEME = "qt6ct";
QT_STYLE_OVERRIDE = "adwaita-dark";
}; };
# enable syncthing for user # enable syncthing for user

View File

@@ -1,7 +1,12 @@
{ pkgs, inputs, ... }: { pkgs, inputs, ... }:
{ {
# install noctalia package # install noctalia and helper packages
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default
kdePackages.qt6ct
adw-gtk3
nwg-look
adwaita-qt
adwaita-qt6
]; ];
} }