mirror of
https://github.com/zoriya/flake.git
synced 2026-08-15 18:43:42 +00:00
Fix gsettings use from systemd services (darkman)
This commit is contained in:
@@ -132,12 +132,6 @@ in {
|
||||
};
|
||||
home.file.".face".source = ../../face.png;
|
||||
|
||||
# Allow gsettings to work
|
||||
xdg.systemDirs.data = [
|
||||
"${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}"
|
||||
"${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}"
|
||||
];
|
||||
|
||||
xdg.configFile."autostart/vesktop.desktop".text = ''
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
|
||||
+11
-1
@@ -1,4 +1,8 @@
|
||||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./fonts.nix
|
||||
];
|
||||
@@ -65,4 +69,10 @@
|
||||
];
|
||||
|
||||
security.pam.services.hyprlock = {};
|
||||
|
||||
# Allow gsettings to work
|
||||
environment.sessionVariables.XDG_DATA_DIRS = [
|
||||
"${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}"
|
||||
"${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}"
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user