mirror of
https://github.com/danth/stylix
synced 2025-02-16 21:38:40 +00:00
Skip building GTK theme when Xserver is disabled
This commit is contained in:
parent
7666cda2a3
commit
818c756a18
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, ... }:
|
||||
{ pkgs, config, lib, ... }:
|
||||
|
||||
let
|
||||
materia = with pkgs; stdenvNoCC.mkDerivation {
|
||||
|
@ -73,7 +73,8 @@ let
|
|||
name = "stylix";
|
||||
};
|
||||
|
||||
in {
|
||||
# GTK will probably be unused without Xserver
|
||||
in lib.mkIf config.services.xserver.enable {
|
||||
# Required for Home Manager's GTK settings to work
|
||||
services.dbus.packages = [ pkgs.gnome3.dconf ];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue