2023-11-06 06:34:57 +00:00
|
|
|
{
|
2023-11-28 05:40:22 +00:00
|
|
|
#inputs,
|
2023-12-18 18:24:38 +00:00
|
|
|
lib,
|
2023-11-06 06:34:57 +00:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
2023-12-18 19:06:50 +00:00
|
|
|
../common/wayland.nix
|
|
|
|
../common/wm.nix
|
2023-12-08 15:44:35 +00:00
|
|
|
../cliphist
|
2023-11-28 05:40:22 +00:00
|
|
|
../dunst
|
|
|
|
../rofi
|
|
|
|
../swayidle
|
|
|
|
../swaylock
|
|
|
|
../swww
|
|
|
|
../udiskie
|
|
|
|
../waybar
|
2023-11-06 06:34:57 +00:00
|
|
|
];
|
|
|
|
|
2023-12-18 18:24:38 +00:00
|
|
|
home.sessionVariables = {
|
|
|
|
QT_IM_MODULE = lib.mkForce "wayland"; # use text-input-v2
|
|
|
|
GTK_IM_MODULE = lib.mkForce "wayland"; # use text-input-v3
|
|
|
|
};
|
|
|
|
|
2023-12-18 18:20:08 +00:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
|
|
|
enableNvidiaPatches = true;
|
|
|
|
#plugins = with inputs.hyprland-plugins.packages.${pkgs.system}; [
|
|
|
|
# csgo-vulkan-fix
|
|
|
|
#];
|
2023-11-06 06:34:57 +00:00
|
|
|
|
2023-12-18 18:20:08 +00:00
|
|
|
extraConfig = ''
|
|
|
|
source = ~/.config/hypr/main.conf
|
|
|
|
source = ~/.config/hypr/keybinds.conf
|
|
|
|
source = ~/.config/hypr/autostart.conf
|
|
|
|
'';
|
2023-11-06 06:34:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
xdg.configFile."hypr" = {
|
2023-12-18 18:17:14 +00:00
|
|
|
source = ./hypr;
|
2023-11-06 06:34:57 +00:00
|
|
|
recursive = true;
|
|
|
|
};
|
|
|
|
}
|