summaryrefslogtreecommitdiff
path: root/modules/wm_utils.nix
blob: 1f1f4170e41ada5578ddff25c116524b7e9c1680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ pkgs, ... }:

let
  wbg = (pkgs.callPackage ../packages/wbg.nix {});
in {
  environment.systemPackages = with pkgs; [
    polkit_gnome

    libnotify
    libappindicator

    inotify-tools

    wirelesstools
    pamixer
    brightnessctl
    networkmanagerapplet

    sway-launcher-desktop
  ] ++ [ wbg ];

  xdg.portal.enable = true;
  xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-wlr pkgs.xdg-desktop-portal ];
  xdg.portal.config.common.default = "wlr";

  environment.variables = {
    XCURSOR_SIZE = "16";
  };

  services.dbus.enable = true;
}