Add Hyprland Toggle

This commit is contained in:
2026-01-05 06:05:30 +01:00
parent 0fc4f4645e
commit 9d5b8eff9c
6 changed files with 62 additions and 35 deletions

View File

@@ -1,12 +1,14 @@
# Glib Schemas Fix
# https://github.com/thomX75/nixos-modules
{ pkgs, ... }:
{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [ gsettings-desktop-schemas ];
config = lib.mkIf config.my.desktop.enable {
environment.systemPackages = with pkgs; [ gsettings-desktop-schemas ];
environment.variables = {
GSETTINGS_SCHEMA_DIR="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas";
environment.variables = {
GSETTINGS_SCHEMA_DIR="${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}/glib-2.0/schemas";
};
};
}