update lockfile and use hyprland.lua symlink

This commit is contained in:
lucy 2026-07-17 23:14:05 +02:00
commit ab1453a501
2 changed files with 21 additions and 13 deletions

View file

@ -1,12 +1,20 @@
{ inputs, pkgs, ... }: {
{
config,
inputs,
pkgs,
...
}:
{
wayland.windowManager.hyprland = {
enable = true;
package = null;
systemd.enable = false;
portalPackage =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
extraLuaFiles = {
"main.lua" = ./hyprland.lua;
};
};
extraConfig = ''
require("main")
'';
xdg.configFile."hypr/main.lua".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/home/hyprland.lua";
}