feat(nix): add salut service and nm-applet

This commit is contained in:
steveej 2023-05-23 19:02:35 +02:00
parent 6970b8c7d2
commit e2abe10c28
5 changed files with 50 additions and 29 deletions

View file

@ -1,6 +1,11 @@
{ pkgs, config, repoFlake, ... }:
{
home.packages = [
# required by any bar that has a tray plugin
pkgs.libappindicator-gtk3
];
programs.waybar = {
enable = true;
package = repoFlake.inputs.nixpkgs-wayland.outputs.packages.${pkgs.stdenv.hostPlatform.system}.waybar;
@ -67,15 +72,6 @@
};
"clock#date".format = "{:%d %b %Y}";
clock.format = "{:%H:%M %p}";
# "custom/hello-from-waybar" = {
# format = "hello {}";
# max-length = 40;
# interval = "once";
# exec = pkgs.writeShellScript "hello-from-waybar" ''
# echo "from within waybar"
# '';
# };
};
};
};