diff --git a/modules/hm/desktop/hyprland.nix b/modules/hm/desktop/hyprland.nix index a0505d5..6ff37ef 100644 --- a/modules/hm/desktop/hyprland.nix +++ b/modules/hm/desktop/hyprland.nix @@ -1,6 +1,6 @@ { flake.modules.homeManager.desktop = - { pkgs, ... }: + { config, pkgs, ... }: { wayland.windowManager.hyprland = { enable = true; @@ -10,6 +10,15 @@ systemd.variables = [ "--all" ]; }; + # TODO: Hyprland 0.55 switched to Lua-based configuration. + # Until the Home Manager module is updated, we symlink our config instead. + home.file = { + ".config/hypr/config".source = + config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/Projects/hypr/config"; + ".config/hypr/hyprland.lua".source = + config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/Projects/hypr/hyprland.lua"; + }; + home.packages = with pkgs; [ ags awww