mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-23 03:25:47 +02:00
Waybar here i come (#58)
This commit is contained in:
+10
-8
@@ -1,14 +1,16 @@
|
||||
# Hyprland is a dynamic tiling Wayland compositor.
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
{...}: {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
withUWSM = true;
|
||||
package = inputs.hyprland.packages."${pkgs.stdenv.hostPlatform.system}".hyprland;
|
||||
portalPackage =
|
||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
|
||||
# Generic Wayland hints (Chromium/Electron and Firefox), applied on every
|
||||
# Hyprland host regardless of the GPU.
|
||||
environment.variables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
};
|
||||
|
||||
security.pam.services.hyprlock = {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user