Modularize the DE config

This commit is contained in:
SebastianStork 2024-04-16 22:05:20 +02:00
parent 38a5b3cbb1
commit 4b650721b0
11 changed files with 285 additions and 252 deletions

View file

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