devos/users/profiles/sway/laptop.nix
2021-07-15 18:51:27 +02:00

8 lines
323 B
Nix

{ pkgs, lib, ... }:
let
desk = (import ./desktop.nix { inherit pkgs lib; });
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