2024-03-09 17:18:36 +01:00
|
|
|
{ config, nix-colors, pkgs, lib, ... }:
|
|
|
|
let
|
|
|
|
inherit
|
|
|
|
(nix-colors.lib-contrib { inherit pkgs; })
|
|
|
|
gtkThemeFromScheme;
|
|
|
|
in
|
|
|
|
{
|
2024-06-20 13:41:57 +02:00
|
|
|
imports = [
|
|
|
|
nix-colors.homeManagerModules.default
|
|
|
|
];
|
|
|
|
|
2024-06-25 13:11:30 +02:00
|
|
|
config = {
|
|
|
|
colorScheme = nix-colors.colorSchemes.da-one-sea;
|
|
|
|
|
2024-10-11 17:14:39 +02:00
|
|
|
gtk = lib.mkIf (config.headless == false) {
|
2024-06-25 13:11:30 +02:00
|
|
|
enable = true;
|
|
|
|
theme = {
|
|
|
|
name = "${config.colorScheme.slug}";
|
|
|
|
package = gtkThemeFromScheme { scheme = config.colorScheme; };
|
|
|
|
};
|
|
|
|
iconTheme = {
|
|
|
|
package = pkgs.qogir-icon-theme;
|
|
|
|
name = "Qogir-dark";
|
|
|
|
};
|
2024-03-09 17:18:36 +01:00
|
|
|
};
|
|
|
|
|
2024-10-11 17:14:39 +02:00
|
|
|
qt = lib.mkIf (config.headless == false) {
|
2024-06-25 13:11:30 +02:00
|
|
|
enable = true;
|
|
|
|
platformTheme.name = "gtk";
|
|
|
|
style = {
|
|
|
|
name = "gtk2";
|
|
|
|
package = pkgs.qt6Packages.qt6gtk2;
|
|
|
|
};
|
2024-03-09 17:18:36 +01:00
|
|
|
};
|
|
|
|
|
2024-10-11 17:14:39 +02:00
|
|
|
home.pointerCursor = lib.mkIf (config.headless == false) {
|
2024-06-25 13:11:30 +02:00
|
|
|
package = pkgs.phinger-cursors;
|
|
|
|
name = "phinger-cursors-dark";
|
|
|
|
size = 24;
|
|
|
|
gtk.enable = true;
|
|
|
|
};
|
2024-03-09 17:18:36 +01:00
|
|
|
};
|
|
|
|
}
|