mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-24 10:04:19 -05:00
nix/module: link /share path
allows linking the lua stub
This commit is contained in:
@@ -129,6 +129,9 @@ in
|
||||
};
|
||||
}
|
||||
(lib.mkIf cfg.enable {
|
||||
# Allows lua stub file to be accessed from /run/current-system/sw/share/hypr
|
||||
environment.pathsToLink = [ "/share/hypr" ];
|
||||
|
||||
environment.etc."xdg/hypr/hyprland.conf" =
|
||||
let
|
||||
shouldGenerate = cfg.extraConfig != "" || cfg.settings != { } || cfg.plugins != [ ];
|
||||
|
||||
Reference in New Issue
Block a user