Files
nixos/Droidnix/generated/hyprland/keyboard_binds/top.nix
T

14 lines
482 B
Nix

{ config, pkgs, lib, user, inputs, ... }:
let
# Read the contents of the bindings.conf file
bindingsContent = builtins.readFile (__flakeRoot + "/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
};
}