mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Simplify wrapper imports
This commit is contained in:
parent
43c8adddb6
commit
42ebeaf86e
19 changed files with 298 additions and 248 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue