trying to fix GTK/QT themeing ... again
This commit is contained in:
parent
6ad97602d9
commit
fed1fe96e2
1 changed files with 71 additions and 80 deletions
|
|
@ -1,27 +1,27 @@
|
||||||
{ pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
||||||
## Import misc desktop files
|
## Import misc desktop files
|
||||||
#./xdg-mime.nix
|
#./xdg-mime.nix
|
||||||
./gtk-qt.nix
|
#./gtk-qt.nix
|
||||||
../scripts
|
../scripts
|
||||||
|
|
||||||
## Import common desktop configs
|
## Import common desktop configs
|
||||||
./hyprcursor.nix
|
./hyprcursor.nix
|
||||||
./hyprlock.nix
|
./hyprlock.nix
|
||||||
./hypridle.nix
|
./hypridle.nix
|
||||||
./udiskie.nix
|
./udiskie.nix
|
||||||
./wlogout.nix
|
./wlogout.nix
|
||||||
./waybar.nix
|
./waybar.nix
|
||||||
./dunst.nix
|
./dunst.nix
|
||||||
./wofi.nix
|
./wofi.nix
|
||||||
|
|
||||||
## Import individual desktop configs
|
## Import individual desktop configs
|
||||||
#./sway
|
#./sway
|
||||||
./hypr
|
./hypr
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -30,36 +30,35 @@
|
||||||
enable = false;
|
enable = false;
|
||||||
xdgOpenUsePortal = false;
|
xdgOpenUsePortal = false;
|
||||||
config = {
|
config = {
|
||||||
common."org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
common."org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
||||||
common.default = [ "gtk" "gnome" ];
|
common.default = [ "gtk" "gnome" ];
|
||||||
#sway.default = [ "gtk" "gnome" ];
|
#sway.default = [ "gtk" "gnome" ];
|
||||||
hyprland.default = [ "hyprland" "gtk" "gnome" ];
|
hyprland.default = [ "hyprland" "gtk" "gnome" ];
|
||||||
};
|
};
|
||||||
configPackages = with pkgs; [
|
configPackages = with pkgs; [
|
||||||
#xdg-desktop-portal
|
#xdg-desktop-portal
|
||||||
#xdg-desktop-portal-wlr
|
#xdg-desktop-portal-wlr
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
xdg-desktop-portal-gnome
|
xdg-desktop-portal-gnome
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
];
|
];
|
||||||
extraPortals = with pkgs; [
|
extraPortals = with pkgs; [
|
||||||
#xdg-desktop-portal
|
#xdg-desktop-portal
|
||||||
#xdg-desktop-portal-wlr
|
#xdg-desktop-portal-wlr
|
||||||
xdg-desktop-portal-gtk
|
xdg-desktop-portal-gtk
|
||||||
xdg-desktop-portal-gnome
|
xdg-desktop-portal-gnome
|
||||||
xdg-desktop-portal-hyprland
|
xdg-desktop-portal-hyprland
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
#userDirs = {
|
#userDirs = {
|
||||||
#extraConfig = {
|
#extraConfig = {
|
||||||
#XDG_FLAKE_DIR = "${config.home.homeDirectory}/flakes/nixdots";
|
#XDG_FLAKE_DIR = "${config.home.homeDirectory}/flakes/nixdots";
|
||||||
#XDG_SYNC_DIR = "${config.home.homeDirectory}/Sync";
|
#XDG_SYNC_DIR = "${config.home.homeDirectory}/Sync";
|
||||||
#};
|
#};
|
||||||
#};
|
#};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = { };
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
## Daemon for easyeffects
|
## Daemon for easyeffects
|
||||||
|
|
@ -75,61 +74,53 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# qt = {
|
qt = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# platformTheme.name = "Adwaita-dark";
|
platformTheme.name = "Adwaita-dark";
|
||||||
# style = {
|
style = {
|
||||||
# name = "Adwaita-dark";
|
name = "Adwaita-dark";
|
||||||
# package = pkgs.adwaita-qt;
|
package = pkgs.adwaita-qt;
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
|
|
||||||
#gtk = {
|
gtk = {
|
||||||
#enable = true;
|
enable = true;
|
||||||
#theme = {
|
theme = lib.mkForce {
|
||||||
#name = "Adwaita-dark";
|
name = "Adwaita-dark";
|
||||||
#package = pkgs.gnome-themes-extra;
|
package = pkgs.gnome-themes-extra;
|
||||||
#};
|
};
|
||||||
#font = {
|
font = {
|
||||||
#name = config.theme.font;
|
name = "${config.theme.font}";
|
||||||
#size = 10;
|
size = 10;
|
||||||
#};
|
};
|
||||||
#iconTheme = {
|
iconTheme = {
|
||||||
#package = pkgs.flat-remix-icon-theme;
|
package = pkgs.flat-remix-icon-theme;
|
||||||
#name = "Flat-Remix-Grey-Darkest";
|
name = "Flat-Remix-Grey-Darkest";
|
||||||
#};
|
};
|
||||||
#gtk3.extraConfig = {
|
gtk3.extraConfig = { gtk-application-prefer-dark-theme = 1; };
|
||||||
#settings = ''
|
gtk4.extraConfig = { gtk-application-prefer-dark-theme = 1; };
|
||||||
#gtk-application-prefer-dark-theme=1
|
};
|
||||||
#'';
|
|
||||||
#};
|
|
||||||
#gtk4.extraConfig = {
|
|
||||||
#Settings = ''
|
|
||||||
#gtk-application-prefer-dark-theme=1
|
|
||||||
#'';
|
|
||||||
#};
|
|
||||||
#};
|
|
||||||
|
|
||||||
#dconf = {
|
#dconf = {
|
||||||
#enable = true;
|
#enable = true;
|
||||||
#settings = {
|
#settings = {
|
||||||
# "org/gnome/desktop/interface" = {
|
# "org/gnome/desktop/interface" = {
|
||||||
# gtk-theme = "Adwaita-dark";
|
# gtk-theme = "Adwaita-dark";
|
||||||
# color-scheme = "prefer-dark";
|
# color-scheme = "prefer-dark";
|
||||||
# };
|
# };
|
||||||
#};
|
#};
|
||||||
#};
|
#};
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
||||||
#pointerCursor = {
|
#pointerCursor = {
|
||||||
#gtk.enable = true;
|
#gtk.enable = true;
|
||||||
#package = pkgs.bibata-cursors;
|
#package = pkgs.bibata-cursors;
|
||||||
#name = "Bibata-Modern-Classic";
|
#name = "Bibata-Modern-Classic";
|
||||||
#size = 12;
|
#size = 12;
|
||||||
#};
|
#};
|
||||||
|
|
||||||
#sessionVariables.GTK_THEME = "Adwaita-dark";
|
sessionVariables.GTK_THEME = "Adwaita-dark";
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
## auth/security
|
## auth/security
|
||||||
|
|
@ -187,7 +178,7 @@
|
||||||
libsForQt5.qt5ct
|
libsForQt5.qt5ct
|
||||||
libnotify
|
libnotify
|
||||||
libva
|
libva
|
||||||
#gitwatch
|
#gitwatch
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue