nixos-config/system/wm/hyprland.nix
2023-09-23 15:41:42 -05:00

32 lines
550 B
Nix

{ config, lib, pkgs, ... }:
{
# Import wayland config
imports = [ ./wayland.nix
./pipewire.nix
./dbus.nix
];
# Security
security = {
pam.services.swaylock = {
text = ''
auth include login
'';
};
pam.services.login.enableGnomeKeyring = true;
};
services.gnome.gnome-keyring.enable = true;
programs = {
hyprland = {
enable = true;
xwayland = {
enable = true;
};
portalPackage = pkgs.xdg-desktop-portal-hyprland;
};
};
}