try out hyprland
All checks were successful
Check Flake / check-flake (push) Successful in 4m34s

This commit is contained in:
2026-03-05 23:29:40 -08:00
parent 1e7aa17d3d
commit 6802dee96f
4 changed files with 327 additions and 0 deletions

49
common/pc/hyprland.nix Normal file
View File

@@ -0,0 +1,49 @@
{ lib, config, pkgs, ... }:
let
cfg = config.de;
in
{
config = lib.mkIf cfg.enable {
programs.hyprland.enable = true;
programs.hyprland.withUWSM = true;
programs.hyprland.xwayland.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
environment.systemPackages = with pkgs; [
# Bar
waybar
# Launcher
wofi
# Notifications
mako
# Lock/idle
hyprlock
hypridle
# Wallpaper
hyprpaper
# Polkit
hyprpolkitagent
# Screenshots
grim
slurp
# Clipboard
wl-clipboard
cliphist
# Color picker
hyprpicker
# Brightness (laptop keybinds)
brightnessctl
];
};
}