dotfiles/hosts/common/optional/hyprland.nix

17 lines
343 B
Nix

{
config,
lib,
pkgs,
inputs,
...
}:
{
programs.hyprland.enable = true;
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.hyprland; # does only work with nixos-unstable
programs.hyprland.xwayland.enable = true;
security.pam.services.hyprlock = { };
services.displayManager.defaultSession = "hyprland";
}