Move rofi configuration into it's own module

This commit is contained in:
SebastianStork 2024-03-25 17:54:16 +01:00
parent 2ea784c007
commit 1657e70197
4 changed files with 18 additions and 4 deletions

View file

@ -0,0 +1,16 @@
{
config,
pkgs,
lib,
...
}: {
options.myConfig.rofi.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.rofi.enable {
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland;
theme = ./rofi-theme.rasi;
};
};
}