summaryrefslogtreecommitdiff
path: root/nixos/wayfire.nix
blob: 2feeefd34255afe2307f92e8ce43b4cdc0ce0ec0 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ config, lib, pkgs, modulesPath, ... }:
{
  imports = [
    ./wmonly.nix
  ];

  services.xserver.displayManager.sx.enable = true;

  security.pam.services.swaylock = {};

  programs.sway = {
    enable = true;
    #package = pkgs.swayfx;
    wrapperFeatures.gtk = true;
    wrapperFeatures.base = true;
    extraPackages = with pkgs; [
      glib
    ];
  };
  qt = {
    enable = true;
    platformTheme = "gnome";
    style = "adwaita";
  };

  environment.systemPackages = with pkgs; [
    # ---- wayfire ----
    #wayfire-with-plugins
    #wayfirePlugins.wcm
    #wayfirePlugins.wf-shell

    # ---- sway ----
    #swayfx
    swaybg
    bemenu
    swayimg

    # ---- common utils ----
    xdg-desktop-portal-wlr
    waybar
    alacritty
    swaylock
    wdisplays
    grim
  ];
}