diff --git a/home/default.nix b/home/default.nix index 0ddda5f..f4c1384 100644 --- a/home/default.nix +++ b/home/default.nix @@ -9,6 +9,7 @@ ./flameshot.nix ./git.nix ./laptop.nix + ./rofi.nix ./secrets ./starship.nix ./themes diff --git a/home/rofi.nix b/home/rofi.nix new file mode 100644 index 0000000..61f1e88 --- /dev/null +++ b/home/rofi.nix @@ -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"; + }; + }; + }; +}