about summary refs log tree commit diff
path: root/home/wm/wofi/default.nix
blob: ad3c759f61e276dc5c46eb7abdbd006039e87370 (plain) (blame)
1
2
3
4
5
6
7
8
{ 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;
  };
}