Move DE utility modules to deUtils namespace

This commit is contained in:
SebastianStork 2025-03-08 20:52:53 +01:00
parent 7e0677ce7d
commit 84be6ec469
19 changed files with 29 additions and 29 deletions

View file

@ -0,0 +1,27 @@
{
config,
pkgs,
lib,
...
}:
{
options.myConfig.deUtils.rofi.enable = lib.mkEnableOption "";
config = lib.mkIf config.myConfig.deUtils.rofi.enable {
home.packages = [ pkgs.rofi-wayland ];
xdg.configFile."rofi/config.rasi".source =
let
theming =
{
dark = ./dark-theme.rasi;
light = ./light-theme.rasi;
}
.${config.myConfig.theme};
in
pkgs.concatText "rofi-config" [
./config.rasi
theming
];
};
}