nixos-config/home/rofi.nix
Antoine Martin 7fa05cbbe9 home: rofi: disable mosh
mosh doesn't support agent forwarding
2022-11-15 00:49:30 +01:00

27 lines
393 B
Nix

{
config,
lib,
pkgs,
...
}: let
inherit
(lib)
mkEnableOption
mkIf
;
cfg = config.my.home.rofi;
in {
options.my.home.rofi = {
enable = (mkEnableOption "rofi configuration") // {default = config.my.home.x.enable;};
};
config = mkIf cfg.enable {
programs.rofi = {
enable = true;
terminal = "${pkgs.alacritty}/bin/alacritty";
};
};
}