nixos-config/system/wm/hyprland.nix

33 lines
569 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
# Import wayland config
imports = [ ./wayland.nix
./pipewire.nix
./dbus.nix
];
# Security
security = {
2023-12-22 07:56:08 +05:30
pam.services.swaylock = {
text = ''
auth include login
'';
};
# pam.services.gtklock = {};
pam.services.login.enableGnomeKeyring = true;
};
services.gnome.gnome-keyring.enable = true;
programs = {
hyprland = {
enable = true;
xwayland = {
enable = true;
};
2023-09-24 02:11:42 +05:30
portalPackage = pkgs.xdg-desktop-portal-hyprland;
};
};
}