flake/users/guanranwang/home-manager/modules/wm/hyprland/default.nix
2023-11-28 12:12:13 +08:00

43 lines
968 B
Nix

{
inputs,
pkgs,
...
}: {
imports = [
../components/dunst
../components/rofi
../components/swayidle.nix
../components/swaylock.nix
../components/swww.nix
../components/udiskie.nix
../components/waybar.nix
];
home.packages = with pkgs; [swww];
wayland.windowManager = {
hyprland = {
enable = true;
enableNvidiaPatches = true;
xwayland.enable = true;
plugins = [
#inputs.hyprland-plugins.packages.${pkgs.system}.csgo-vulkan-fix
];
extraConfig = ''
#source = ~/.config/hypr/themes/mocha.conf
#source = ~/.config/hypr/themes/colors.conf
#source = ~/.config/hypr/plugins.conf
source = ~/.config/hypr/main.conf
source = ~/.config/hypr/keybinds.conf
source = ~/.config/hypr/autostart.conf
source = ~/.config/hypr/env.conf
'';
};
};
xdg.configFile."hypr" = {
source = ./hyprland;
recursive = true;
};
}