1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/configs/theming.nix

27 lines
681 B
Nix
Raw Normal View History

2019-04-19 03:11:51 +02:00
{ lib, config, ... }:
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
};
}