nixos-config/system/wm/hyprland.nix

30 lines
642 B
Nix
Raw Normal View History

{ inputs, pkgs, lib, ... }: let
pkgs-hyprland = inputs.hyprland.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in
{
# Import wayland config
imports = [ ./wayland.nix
./pipewire.nix
./dbus.nix
];
# Security
security = {
pam.services.login.enableGnomeKeyring = true;
};
services.gnome.gnome-keyring.enable = true;
programs = {
hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
xwayland = {
enable = true;
};
2024-06-01 07:36:50 +05:30
portalPackage = pkgs-hyprland.xdg-desktop-portal-hyprland;
};
};
}