Files
nixos-config/home-manager/modules/hypr/hypr.nix
T
2025-11-18 04:22:01 +03:00

53 lines
1.3 KiB
Nix

{ config, pkgs, ... }:
# TODO:
# - make shortcuts for hyprctl commands
# - split into multiple files
# - configure comands like hyprpaper, waybar, etc.
{
home.packages = with pkgs; [
hyprland # already in nixos modules, but here for hyprctl
brightnessctl
];
programs.hyprpanel = {
enable = true;
systemd.enable = true;
};
programs.fuzzel.enable = true;
wayland.windowManager.hyprland.settings = {
exec-once = [
# Fixes cursor themes in gnome apps under hyprland
"gsettings set org.gnome.desktop.interface cursor-theme '${config.home.pointerCursor.name}'"
"gsettings set org.gnome.desktop.interface cursor-size ${
toString config.home.pointerCursor.size
}"
];
};
# wayland.windowManager.hyprland = {
# enable = true;
# settings = {
# "$qsConfig" = "ii";
# exec =
# "hyprctl dispatch submap global"; # DO NOT REMOVE THIS OR YOU WON'T BE ABLE TO USE ANY KEYBIND
# submap = "global"; # Required for catchall to work
# debug = { disable_logs = false; };
# };
# };
# imports = [
# ./hyprland/env.nix
# ./hyprland/execs.nix
# ./hyprland/general.nix
# ./hyprland/rules.nix
# ./hyprland/colors.nix
# ./hyprland/keybinds.nix
# ./hyprland/active.nix
# ];
}