24 lines
640 B
Nix
24 lines
640 B
Nix
{ config, lib, pkgs, flakeRoot, ... }:
|
|
let
|
|
hyprConf = flakeRoot + "/assets/conf/desktop/hypr/hyprland.conf";
|
|
bindingsConf = flakeRoot + "/assets/conf/desktop/hypr/bindings.conf";
|
|
in
|
|
{
|
|
programs.kitty.enable = true;
|
|
|
|
wayland.windowManager.hyprland = {
|
|
enable = true;
|
|
# Load base config + bindings from repo files
|
|
extraConfig =
|
|
(builtins.readFile hyprConf)
|
|
+ "\n\n# --- Repo keybindings ---\n"
|
|
+ (builtins.readFile bindingsConf)
|
|
+ "\n";
|
|
};
|
|
|
|
xdg.configFile."hypr/scripts/lid-lock.sh" = {
|
|
source = flakeRoot + "/assets/conf/desktop/hypr/scripts/lid-lock.sh";
|
|
executable = true;
|
|
};
|
|
}
|