home/stylix: Enable GTK theming only if graphical
This commit is contained in:
parent
e988111c49
commit
a95ba1f018
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,12 @@
|
|||
{ ... }: { config, lib, pkgs, ... }: {
|
||||
{ ... }: { config, lib, pkgs, ... }@args:
|
||||
let
|
||||
osConfig = args.osConfig or { };
|
||||
in {
|
||||
stylix = {
|
||||
enable = true;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
||||
image = config.lib.stylix.pixel "base00";
|
||||
|
||||
targets.gtk.enable = osConfig.hardware.graphics.enable or false;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue