mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-06-20 19:26:32 +05:30
fix(desktop): use lua config for hyprland
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user