feat(hyprland): add home-manager configuration for hyprland

This commit is contained in:
Mohammad Rafiq 2025-05-18 17:12:01 +08:00
parent 8ff864caed
commit 7cf01bb2d5
No known key found for this signature in database
2 changed files with 18 additions and 0 deletions

View file

@ -3,6 +3,7 @@
{
imports = [
./programs/git.nix
./programs/hyprland.nix
];
home.stateVersion = "24.11";

View file

@ -0,0 +1,17 @@
{config, lib, osConfig, ...}:
{
xdg.configFile."uwsm/env".text = # sh
''
'';
wayland.windowManager.hyprland = {
enable = true;
systemd.enable = false;
settings = {
"$hypr" = "CTRL_SUPER_ALT_SHIFT";
bind = [
"$hypr, Q, exec, uwsm stop"
];
};
};
}