8 lines
319 B
Nix
8 lines
319 B
Nix
{ pkgs, lib, ... }:
|
|
let
|
|
desk = (import ./desktop.nix { inherit pkgs; });
|
|
desk_blocks = desk.programs.i3status-rust.bars.bar_0.blocks;
|
|
lap_blocks = [{ block = "backlight"; } { block = "battery"; }] ++ desk_blocks;
|
|
lap = lib.recursiveUpdate desk { programs.i3status-rust.bars.bar_0.blocks = lap_blocks; };
|
|
in
|
|
lap
|