{ config, pkgs, lib, user, inputs, ... }: let # Read the contents of the bindings.conf file bindingsContent = builtins.readFile ./assets/hyprland/conf/bindings.conf; # Create a configuration file from the bindings content configFile = pkgs.writeText "hyprland.conf" bindingsContent; in { wayland.windowManager.hyprland = { enable = true; # Enable Hyprland as the window manager config = configFile; # Use the generated configuration file }; }