22 lines
447 B
Nix
22 lines
447 B
Nix
{ lib, pkgs, config, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.eboskma.programs.rofi;
|
|
in
|
|
{
|
|
options.eboskma.programs.rofi.enable = mkEnableOption "Enable rofi";
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.rofi = {
|
|
enable = true;
|
|
package = pkgs.rofi-wayland;
|
|
theme = ./launch.rasi;
|
|
terminal = "${pkgs.alacritty}/bin/alacritty";
|
|
};
|
|
|
|
home.file.".local/rofi/themes/power.rasi" = {
|
|
source = ./power.rasi;
|
|
};
|
|
};
|
|
}
|