Testing new bindings.nix
This commit is contained in:
@@ -1,4 +1,12 @@
|
|||||||
{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
user,
|
||||||
|
inputs,
|
||||||
|
flakeRoot,
|
||||||
|
...
|
||||||
|
}:
|
||||||
let
|
let
|
||||||
bindingsContent = builtins.readFile (flakeRoot + "/assets/hyprland/conf/bindings.conf");
|
bindingsContent = builtins.readFile (flakeRoot + "/assets/hyprland/conf/bindings.conf");
|
||||||
in
|
in
|
||||||
@@ -6,11 +14,8 @@ in
|
|||||||
home-manager.users.${user.username} = {
|
home-manager.users.${user.username} = {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = lib.mkForce { };
|
||||||
# Include the contents of bindings.conf as raw settings
|
extraConfig = bindingsContent;
|
||||||
# This will be merged with other Hyprland settings
|
|
||||||
$bindingsContent
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user