flake/users/guanranwang/home-manager/applications/hyprland/default.nix

44 lines
872 B
Nix
Raw Normal View History

{
2023-11-28 05:40:22 +00:00
#inputs,
pkgs,
...
}: {
imports = [
2023-11-28 05:40:22 +00:00
../dunst
../rofi
../swayidle
../swaylock
../swww
../udiskie
../waybar
];
2023-11-25 09:02:50 +00:00
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" = {
2023-11-25 09:02:50 +00:00
source = ./hyprland;
recursive = true;
};
}