finding hyprland.conf error
This commit is contained in:
@@ -10,11 +10,10 @@
|
|||||||
let
|
let
|
||||||
hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr";
|
hyprlandConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/hypr";
|
||||||
# Dynamically read all files in assets/hyprland/conf/hypr
|
# Dynamically read all files in assets/hyprland/conf/hypr
|
||||||
hyprlandConfs =
|
files = builtins.attrNames (builtins.readDir "${flakeRoot}/assets/hyprland/conf/hypr");
|
||||||
lib.genAttrs (builtins.attrNames (builtins.readDir "${flakeRoot}/assets/hyprland/conf/hypr"))
|
hyprlandConfs = lib.genAttrs files (name: {
|
||||||
(name: {
|
text = builtins.readFile "${flakeRoot}/assets/hyprland/conf/hypr/${name}";
|
||||||
text = builtins.readFile "${flakeRoot}/assets/hyprland/conf/hypr/${name}";
|
});
|
||||||
});
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# NixOS: Enable Hyprland (optional)
|
# NixOS: Enable Hyprland (optional)
|
||||||
|
|||||||
Reference in New Issue
Block a user