summaryrefslogtreecommitdiff
path: root/nixos/modules/features/niri/default.nix
blob: 8c1a6511fbef63c9247b944c74269bdcb5cff120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ pkgs, ... }:

{
  # niri: scrollable-tiling Wayland compositor.
  # enableDefaultPath = false stops the bundled unit pre-setting PATH, so the
  # session uses the environment NixOS generates.
  programs.niri.enable = true;
  systemd.user.services.niri.enableDefaultPath = false;

  # Icon themes + cursors the compositor and its launchers rely on.
  environment.systemPackages = with pkgs; [
    adwaita-icon-theme
    bibata-cursors
    
    hicolor-icon-theme
    # Shows polkit authentication dialogs as a layer-shell popup.
    hyprpolkitagent
  ];
}