update hyprland usage

This commit is contained in:
2025-04-21 21:32:17 +08:00
parent 90126edab0
commit ac9d778c53
7 changed files with 22 additions and 12 deletions

View File

@@ -1,11 +1,23 @@
{ config, lib, pkgs, hyprland, ... }:
{ config, lib, pkgs, ... }:
{
imports = [
hyprland.homeManagerModules.default
./env.nix
];
wayland.windowManager.hyprland = {
# Whether to enable Hyprland wayland compositor
enable = true;
# The hyprland package to use
package = pkgs.hyprland;
# Whether to enable XWayland
xwayland.enable = true;
# Optional
# Whether to enable hyprland-session.target on hyprland startup
systemd.enable = true;
};
home.packages = with pkgs; [
waybar # the status bar
# hyprpaper # wallpaper