fix: provide gsettings schemas

This commit is contained in:
Infinidoge 2022-11-05 20:52:09 -04:00
parent b8b0ae34c6
commit 346b342920

View file

@ -1,4 +1,4 @@
{ config, lib, ... }: {
{ config, lib, pkgs, ... }: {
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
@ -28,6 +28,12 @@
(lib.mkIf config.services.xserver.enable {
xsession.enable = true;
})
(lib.mkIf config.info.graphical {
xdg.systemDirs.data = [
"${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}"
"${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}"
];
})
];
};
}