Simplify wrapper imports

This commit is contained in:
SebastianStork 2024-07-15 19:22:36 +02:00
parent 43c8adddb6
commit 42ebeaf86e
19 changed files with 298 additions and 248 deletions

View file

@ -1,13 +1,17 @@
{ assembleWrapper, moduleArgs, ... }:
let
inherit (moduleArgs) pkgs;
in
assembleWrapper {
basePackage = pkgs.waybar;
flags = [
"--config"
./config.json
"--style"
./style.css
{ inputs, pkgs, ... }:
(inputs.wrapper-manager.lib {
inherit pkgs;
modules = [
{
wrappers.waybar = {
basePackage = pkgs.waybar;
flags = [
"--config"
./config.json
"--style"
./style.css
];
};
}
];
}
}).config.wrappers.waybar.wrapped