nixos-config/home-manager/profiles/waybar/niri.nix

33 lines
462 B
Nix
Raw Permalink Normal View History

2024-11-28 01:14:34 +08:00
{
config,
pkgs,
lib,
...
}:
let
args = {
inherit config pkgs lib;
};
in
{
imports = lib.singleton ./_default.nix;
programs.waybar.settings = lib.singleton (
{
position = "top";
modules-left = [
"custom/nixos"
"niri/workspaces"
"niri/window"
];
modules-right = [
"network"
"pulseaudio"
"clock"
"tray"
];
}
// (import ./_common.nix args)
);
}