Compare commits

..

No commits in common. "ddade0edd05d6bf0860a6685523bcba24a32e59d" and "6bf432c2fc1297b0036c35b2afc852142c0867a7" have entirely different histories.

5 changed files with 21 additions and 53 deletions

View file

@ -11,10 +11,10 @@
./fish.nix
./git.nix
./gpg.nix
./gtk.nix
./mpv.nix
./ssh
./terminals.nix
./theme.nix
./tmux.nix
./use-xdg.nix
];

14
home/gtk.nix Normal file
View file

@ -0,0 +1,14 @@
{ ... }:
let
common-gtk = {
gtk-application-prefer-dark-theme = true;
};
in
{
home.sessionVariables.GTK_THEME = "Adwaita:dark";
gtk = {
enable = true;
gtk3.extraConfig = common-gtk;
gtk4.extraConfig = common-gtk;
};
}

View file

@ -1,51 +0,0 @@
{ pkgs, lib, ... }:
let
ini = pkgs.formats.ini { };
common-gtk = {
gtk-application-prefer-dark-theme = true;
};
qtct-config =
pkg: name:
ini.generate "${name}.conf" {
Appearance = {
custom_palette = true;
color_scheme_path = "${pkg}/share/${name}/colors/darker.conf";
style = "Breeze";
icon_theme = "breeze-dark";
standard_dialogs = "default";
};
};
in
{
home.sessionVariables.GTK_THEME = "Adwaita:dark";
gtk = {
enable = true;
gtk3.extraConfig = common-gtk;
gtk4.extraConfig = common-gtk;
};
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
};
};
qt = {
enable = true;
platformTheme.name = "qtct";
};
home.packages = with pkgs; [
(lib.lowPrio libsForQt5.breeze-qt5.bin)
kdePackages.breeze
kdePackages.breeze-icons
qt6.qtwayland
];
xdg.configFile = {
"qt5ct/qt5ct.conf".source = qtct-config pkgs.libsForQt5.qt5ct "qt5ct";
"qt6ct/qt6ct.conf".source = qtct-config pkgs.kdePackages.qt6ct "qt6ct";
};
}

View file

@ -94,10 +94,10 @@
# GUI tools
dino
eog
evince
gimp
gnome-system-monitor
inkscape
kdePackages.okular
libreoffice-fresh
nheko

View file

@ -64,5 +64,10 @@
};
};
qt = {
enable = true;
platformTheme = "qt5ct";
};
users.users.artemis.extraGroups = [ "scanner" ];
}