feat: alejandra -> nixfmt

This commit is contained in:
uku 2024-12-25 18:21:24 +01:00
parent acc6e6e825
commit 65ce9c5882
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
56 changed files with 737 additions and 456 deletions

View file

@ -3,7 +3,8 @@
pkgs,
config,
...
}: {
}:
{
hm.programs.waybar = {
enable = true;
style = ./style.css;
@ -15,15 +16,23 @@
height = 24;
spacing = 2;
modules-left = ["hyprland/workspaces"];
modules-center = [];
modules-left = [ "hyprland/workspaces" ];
modules-center = [ ];
modules-right =
["memory"]
++ lib.optionals (builtins.elem "amdgpu" config.services.xserver.videoDrivers) ["custom/gpu-usage"]
++ ["cpu" "wireplumber"]
++ lib.optionals config.services.power-profiles-daemon.enable ["battery"]
++ lib.optionals config.programs.light.enable ["backlight"]
++ ["clock" "tray"];
[ "memory" ]
++ lib.optionals (builtins.elem "amdgpu" config.services.xserver.videoDrivers) [
"custom/gpu-usage"
]
++ [
"cpu"
"wireplumber"
]
++ lib.optionals config.services.power-profiles-daemon.enable [ "battery" ]
++ lib.optionals config.programs.light.enable [ "backlight" ]
++ [
"clock"
"tray"
];
"hyprland/workspaces" = {
format = "{name}";