15 lines
421 B
Nix
15 lines
421 B
Nix
{ 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;
|
|
};
|
|
};
|
|
}
|