home: rofi: setup config
This commit is contained in:
parent
e923b28c6c
commit
fb2b03fb79
|
@ -9,6 +9,7 @@
|
|||
./flameshot.nix
|
||||
./git.nix
|
||||
./laptop.nix
|
||||
./rofi.nix
|
||||
./secrets
|
||||
./starship.nix
|
||||
./themes
|
||||
|
|
20
home/rofi.nix
Normal file
20
home/rofi.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue