diff options
Diffstat (limited to '')
-rw-r--r-- | home/wm/wofi/default.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/home/wm/wofi/default.nix b/home/wm/wofi/default.nix new file mode 100644 index 0000000..ad3c759 --- /dev/null +++ b/home/wm/wofi/default.nix @@ -0,0 +1,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; + }; +} |