nixos-config/home/rofi.nix

21 lines
423 B
Nix
Raw Normal View History

2021-07-29 11:17:22 +02:00
{ config, lib, pkgs, ... }:
let
cfg = config.my.home.rofi;
in
{
options.my.home.rofi = with lib; {
enable = (mkEnableOption "rofi configuration") // { default = config.my.home.x.enable; };
2021-07-29 11:17:22 +02:00
};
config = lib.mkIf cfg.enable {
programs.rofi = {
enable = true;
terminal = "${pkgs.alacritty}/bin/alacritty";
extraConfig = {
ssh-client = "${pkgs.mosh}/bin/mosh";
};
};
};
}