nixos/home/hyprland/waybar/default.nix
Evie Litherland-Smith b102f9e209 Major cleanup for files
Reduce complexity and in flake.nix and be more efficient in re-using
things

Removed some reduandant files in home/ and tidied up the structure
somewhat

Moved things from desktop, gui, etc... to top level

Changed env to shell, indiv shell expressions import relevant others
2023-07-16 17:35:36 +01:00

38 lines
1 KiB
Nix

{pkgs, ...}: {
home.packages = with pkgs; [
(nerdfonts.override {fonts = ["FiraCode"];})
networkmanagerapplet
bluez
];
programs.waybar = {
enable = true;
style = ./style.css;
settings.main = {
layer = "top";
position = "top";
"modules-left" = ["wlr/workspaces"];
"modules-center" = [];
"modules-right" = [
"pulseaudio"
"bluetooth"
"network"
"backlight"
"battery"
"tray"
"clock"
];
"wlr/workspaces" = import ./modules/wlr_workspaces.nix;
cpu = import ./modules/cpu.nix;
memory = import ./modules/memory.nix;
temperature = import ./modules/temperature.nix;
clock = import ./modules/clock.compact.nix;
pulseaudio = import ./modules/pulseaudio.nix;
bluetooth = import ./modules/bluetooth.compact.nix;
network = import ./modules/network.compact.nix;
backlight = import ./modules/backlight.nix;
battery = import ./modules/battery.compact.nix;
tray = import ./modules/tray.nix;
};
};
}