summaryrefslogtreecommitdiff
path: root/nixos/sway.nix
blob: 73050f5fb9188667c912a373459394b4999c7798 (plain) (blame)
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
32
{ config, lib, pkgs, modulesPath, ... }:
{
  imports = [
    ./wmonly.nix
  ];

  programs.sway = {
    enable = true;
    #package = pkgs.swayfx;
    wrapperFeatures.gtk = true;
    wrapperFeatures.base = true;
    extraPackages = with pkgs; [
      glib
    ];
  };

  security.pam.services.swaylock = {};

  environment.systemPackages = with pkgs; [
    swaybg
    bemenu
    swayimg

    xdg-desktop-portal-wlr
    waybar
    alacritty
    swaylock
    wdisplays
    grim
    cage
  ];
}