nix/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/waybar/scripts/waybar-scripts.nix
2023-08-28 19:35:59 +09:00

11 lines
No EOL
254 B
Nix

{...}: {
home.file = {
".config/waybar/scripts/tailscale.sh" = {
enable = true;
executable = true;
text = ''
tailscale status --json | jq -r '.BackendState'
'';
}
}
}