nixos-config/home-manager/modules/rofi/default.nix

16 lines
273 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;
theme = ./launch.rasi;
};
};
}