playing with gtk theme package

This commit is contained in:
Noah Masur
2022-05-14 17:36:38 -04:00
parent e3d9fe083c
commit c75bffa0dc
5 changed files with 23 additions and 6 deletions

View File

@ -25,9 +25,15 @@
type = types.str;
description = "Command to use for launching";
};
gtkTheme = mkOption {
type = types.str;
description = "Theme for GTK applications";
gtk.theme = {
name = mkOption {
type = types.str;
description = "Theme name for GTK applications";
};
package = mkOption {
type = types.str;
description = "Theme package name for GTK applications";
};
};
colorscheme = mkOption {
type = types.attrs;

View File

@ -15,7 +15,10 @@
enable = config.services.xserver.enable;
# Make the login screen dark
greeters.gtk.theme = { name = config.gui.gtkTheme; };
greeters.gtk.theme = {
name = config.gui.gtk.theme.name;
package = pkgs."${config.gui.gtk.theme.package}";
};
};
};