Renewed binds
This commit is contained in:
@@ -1,14 +1,20 @@
|
|||||||
{ 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");
|
||||||
configFile = pkgs.writeText "hyprland.conf" bindingsContent;
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Home Manager configurations must be nested under the user
|
|
||||||
home-manager.users.${user.username} = {
|
home-manager.users.${user.username} = {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = configFile;
|
extraConfig = bindingsContent;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user