25 lines
531 B
Nix
25 lines
531 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
user,
|
|
inputs,
|
|
flakeRoot,
|
|
...
|
|
}:
|
|
let
|
|
bindingsContent = builtins.readFile (flakeRoot + "/assets/hyprland/conf/bindings.conf");
|
|
userConfig = import (flakeRoot + "/assets/flake/users/henrov.nix");
|
|
in
|
|
{
|
|
home-manager.users.${user.username} = {
|
|
home.stateVersion = userConfig.stateVersion;
|
|
home.username = userConfig.username;
|
|
home.homeDirectory = userConfig.homeDirectory;
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
extraConfig = bindingsContent;
|
|
};
|
|
};
|
|
}
|