Testing new bindings.nix

This commit is contained in:
2026-03-07 17:56:53 +01:00
parent dee654cbf4
commit 05fc8b574c
@@ -1,14 +1,16 @@
{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
let
bindingsContent = builtins.readFile (flakeRoot + "/assets/hyprland/conf/bindings.conf");
configFile = pkgs.writeText "hyprland.conf" bindingsContent;
in
{
# Home Manager configurations must be nested under the user
home-manager.users.${user.username} = {
wayland.windowManager.hyprland = {
enable = true;
config = configFile;
settings = {
# Include the contents of bindings.conf as raw settings
# This will be merged with other Hyprland settings
$bindingsContent
};
};
};
}