about summary refs log tree commit diff
path: root/home/wm/wofi/default.nix
blob: 7f8a92b02d394afedeb3c75e1ac03d74fcb1c751 (plain) (blame)
1
2
3
4
5
6
7
8
9
{ config, lib, pkgs, ... }:
let isEnabled = config.my.home.wm.windowManager == "sway";
in
{
  config = lib.mkIf isEnabled {
    home.packages = with pkgs; [ wofi ];
    xdg.configFile."wofi/config".source = ./config;
  };
}