21 lines
404 B
Nix
21 lines
404 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
let
|
||
|
cfg = config.my.home.rofi;
|
||
|
in
|
||
|
{
|
||
|
options.my.home.rofi = with lib; {
|
||
|
enable = (mkEnableOption "rofi configuration") // { default = true; };
|
||
|
};
|
||
|
|
||
|
config = lib.mkIf cfg.enable {
|
||
|
programs.rofi = {
|
||
|
enable = true;
|
||
|
|
||
|
terminal = "${pkgs.alacritty}/bin/alacritty";
|
||
|
extraConfig = {
|
||
|
ssh-client = "${pkgs.mosh}/bin/mosh";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|