refactor(tazjin/dotfiles): move waybar configuration into Nix

Change-Id: Ia031fd755ecf451b0ef1f9e63f3aec8b56fe2d57
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12448
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2024-09-07 14:39:40 +03:00 committed by clbot
parent 863146295b
commit 7903d26054
7 changed files with 82 additions and 33 deletions

View file

@ -74,6 +74,15 @@ in
};
};
programs.waybar = {
enable = true;
settings = depot.users.tazjin.dotfiles.waybar.config;
style = depot.users.tazjin.dotfiles.waybar.style;
systemd.enable = true;
};
systemd.user.services.waybar.Unit.After = lib.mkForce [ "niri.service" ];
services.swayidle = let cmd = "${pkgs.swaylock}/bin/swaylock -fFkl -c 008080"; in {
enable = true;
events = [