working on wofi

This commit is contained in:
2026-03-11 15:33:03 +01:00
parent 6819fec633
commit e067487594
7 changed files with 419 additions and 388 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ let
});
in
{
# NixOS: Enable Hyprland
# NixOS: Enable Hyprland (optional)
programs.hyprland = {
enable = true;
};
@@ -11,9 +11,9 @@ let
wofiConfigDir = "${config.home-manager.users.${user.username}.xdg.configHome}/wofi";
# Dynamically read all files in assets/hyprland/conf/wofi/
wofiConfs =
lib.genAttrs (builtins.attrNames (builtins.readDir "${flakeRoot}/assets/hyprland/conf/wofi"))
lib.genAttrs (builtins.attrNames (builtins.readDir "${flakeRoot}/assets/system/conf/wofi"))
(name: {
text = builtins.readFile "${flakeRoot}/assets/hyprland/conf/wofi/${name}";
text = builtins.readFile "${flakeRoot}/assets/system/conf/wofi/${name}";
});
in
{