* updated noctalia-shell to v3.8.2 * removed television fish integration workaround * removed `~/.config/fish/fish_variables` entry in my.persist.homeFiles since [fish v4.3.0](https://github.com/fish-shell/fish-shell/releases/tag/4.3.0) no longer sets universal variables by default
101 lines
2.2 KiB
Nix
101 lines
2.2 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
cfg = config.my.desktop.style;
|
|
in
|
|
{
|
|
options.my.desktop.style = {
|
|
enable = lib.mkEnableOption "style";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
catppuccin.sddm = {
|
|
enable = true;
|
|
font = "Jetbrains Mono";
|
|
fontSize = "18";
|
|
};
|
|
services.displayManager.sddm = {
|
|
package = pkgs.kdePackages.sddm;
|
|
settings.Theme = {
|
|
CursorTheme = "breeze-dark";
|
|
CursorSize = 24;
|
|
};
|
|
};
|
|
|
|
my.hm = {
|
|
stylix = {
|
|
enable = true;
|
|
autoEnable = false;
|
|
base16Scheme = ./tokyonight-storm.yaml;
|
|
polarity = "dark";
|
|
cursor = {
|
|
package = pkgs.bibata-cursors;
|
|
name = "Bibata-Modern-Classic";
|
|
size = 24;
|
|
};
|
|
icons = {
|
|
enable = true;
|
|
package = pkgs.papirus-icon-theme;
|
|
dark = "Papirus-Dark";
|
|
light = "Papirus-Light";
|
|
};
|
|
};
|
|
|
|
# GTK
|
|
gtk = {
|
|
enable = true;
|
|
font = {
|
|
name = "Adwaita Sans";
|
|
package = pkgs.adwaita-fonts;
|
|
};
|
|
theme = {
|
|
package = pkgs.gnome-themes-extra;
|
|
name = "Adwaita";
|
|
};
|
|
gtk2 = {
|
|
configLocation = "${config.my.hm.xdg.configHome}/gtk-2.0/gtkrc";
|
|
};
|
|
gtk3 = {
|
|
theme = {
|
|
package = pkgs.adw-gtk3;
|
|
name = "adw-gtk3";
|
|
};
|
|
extraConfig = {
|
|
gtk-decoration-layout = ":none";
|
|
gtk-application-prefer-dark-theme = 1;
|
|
};
|
|
};
|
|
gtk4 = {
|
|
extraConfig = {
|
|
gtk-decoration-layout = ":none";
|
|
gtk-application-prefer-dark-theme = 1;
|
|
};
|
|
};
|
|
};
|
|
|
|
#QT
|
|
qt = {
|
|
enable = true;
|
|
style.package = with pkgs; [
|
|
darkly-qt5
|
|
darkly-qt6
|
|
];
|
|
platformTheme.name = "qtct";
|
|
};
|
|
|
|
xdg.configFile = {
|
|
"qt5ct/qt5ct.conf".source = pkgs.replaceVars ./qtct/qt5ct.conf {
|
|
darker = pkgs.libsForQt5.qt5ct + /share/qt5ct/colors/darker.conf;
|
|
};
|
|
"qt6ct/qt6ct.conf".source = pkgs.replaceVars ./qtct/qt6ct.conf {
|
|
darker = pkgs.qt6Packages.qt6ct + /share/qt6ct/colors/darker.conf;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|