Try fix Hyprland

This commit is contained in:
clsty
2025-11-04 21:10:56 +08:00
parent 5a4b4e6d3c
commit 4cad276963
+10 -1
View File
@@ -22,6 +22,15 @@
## Allow fontconfig to discover fonts in home.packages ## Allow fontconfig to discover fonts in home.packages
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
wayland.windowManager.hyprland = {
## Make sure home-manager not generate ~/.config/hypr/hyprland.conf
systemd.enable = false; plugins = []; settings = {}; extraConfig = "";
enable = true;
## Use NixGL
package = config.lib.nixGL.wrap pkgs.hyprland;
};
home = { home = {
packages = with pkgs; [ packages = with pkgs; [
@@ -195,7 +204,7 @@
] ]
++ [ ++ [
(config.lib.nixGL.wrap pkgs.hyprland) #(config.lib.nixGL.wrap pkgs.hyprland)
(config.lib.nixGL.wrap quickshell.packages.x86_64-linux.default) (config.lib.nixGL.wrap quickshell.packages.x86_64-linux.default)
]; ];
}//home_attrs; }//home_attrs;