blob: a306d6bc0f455d4f3b427c6c116ec6ac823ad852 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
hyprland
hyprgui
hyprshot
hyprkeys
hypridle
hyprpaper
hyprpicker
hyprnotify
hyprcursor
hyprpolkitagent
waybar
waybar-mpris
];
services.xserver.exportConfiguration = true; # This makes it easy to search for a valid keymap
# Enable KDE6 env in case Hyprland gets borked.
# services.desktopManager.plasma6.enable = true;
programs.hyprland.enable = true;
programs.hyprland.withUWSM = true;
programs.uwsm = {
enable = true;
waylandCompositors ={
hyprland = {
prettyName = "Hyprland";
comment = "Hyprland compositor managed by UWSM";
binPath = "/run/current-system/sw/bin/Hyprland";
};
};
};
xdg.portal = {
enable = true;
config = {
common = {
default = [
"hyprland"
"gtk"
];
};
};
};
}
|