2020-10-30 11:05:26 +01:00
|
|
|
{ lib, config, pkgs, ... }:
|
|
|
|
|
let
|
2021-12-29 15:15:02 +01:00
|
|
|
theme = (import ../lib).theme pkgs;
|
2020-04-22 17:42:45 +02:00
|
|
|
in {
|
2020-06-10 17:37:25 +02:00
|
|
|
environment.systemPackages =
|
|
|
|
|
[ theme.gtk.package theme.icon.package theme.cursor.package ];
|
2019-04-19 03:11:51 +02:00
|
|
|
|
|
|
|
|
services.xserver.displayManager.lightdm.greeters.gtk = {
|
2020-06-10 17:37:25 +02:00
|
|
|
theme = { inherit (theme.gtk) name package; };
|
|
|
|
|
iconTheme = { inherit (theme.icon) name package; };
|
2019-04-19 03:11:51 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
home-manager.users.me = {
|
|
|
|
|
gtk = {
|
|
|
|
|
enable = true;
|
2019-04-19 15:02:05 +02:00
|
|
|
iconTheme = theme.icon;
|
|
|
|
|
theme = theme.gtk;
|
2019-04-19 03:11:51 +02:00
|
|
|
};
|
|
|
|
|
qt = {
|
|
|
|
|
enable = true;
|
2019-10-11 21:12:32 +02:00
|
|
|
platformTheme = "gtk";
|
2019-04-19 03:11:51 +02:00
|
|
|
};
|
2019-04-19 15:02:05 +02:00
|
|
|
xsession.pointerCursor = theme.cursor // { size = 16; };
|
2019-04-19 03:11:51 +02:00
|
|
|
};
|
|
|
|
|
}
|