update lockfile and use hyprland.lua symlink
This commit is contained in:
parent
ca752d89f4
commit
ab1453a501
2 changed files with 21 additions and 13 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue