2019-04-19 03:11:51 +02:00
|
|
|
{ lib, config, ... }:
|
2020-04-22 17:42:45 +02:00
|
|
|
let inherit (config.niveum) theme colourPalette;
|
|
|
|
|
in {
|
|
|
|
|
console.colors = map (c: lib.strings.removePrefix "#" c) colourPalette;
|
2019-04-19 03:11:51 +02:00
|
|
|
|
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
|
|
|
};
|
|
|
|
|
}
|