forked from hacc/haccfiles
44 lines
1.2 KiB
Nix
44 lines
1.2 KiB
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
|
||
|
{
|
||
|
|
||
|
fonts.fonts = with pkgs; [ font-awesome nerdfonts ];
|
||
|
users.users.hexchen.packages = with pkgs; [ ];
|
||
|
home-manager.users.hexchen = {
|
||
|
programs.waybar = {
|
||
|
enable = true;
|
||
|
|
||
|
settings = [{
|
||
|
modules-left = [ "sway/workspaces" "sway/mode" ];
|
||
|
modules-center = [ "sway/window" ];
|
||
|
modules-right = [ "pulseaudio" "network" "cpu" "memory" "temperature" "battery" "clock" "tray" ];
|
||
|
|
||
|
modules = {
|
||
|
battery = {
|
||
|
states = {
|
||
|
good = 95;
|
||
|
warning = 30;
|
||
|
critical = 15;
|
||
|
};
|
||
|
format = "{capacity}% {icon}";
|
||
|
format-charging = "{capacity}% ";
|
||
|
format-plugged = "{capacity}% ";
|
||
|
format-alt = "{time} {icon}";
|
||
|
format-icons = ["" "" "" "" ""];
|
||
|
};
|
||
|
network = {
|
||
|
format-wifi = "{essid} ({signalStrength}%) ";
|
||
|
format-ethernet = "{ifname}: {ipaddr}/{cidr} ";
|
||
|
format-linked = "{ifname} (No IP) ";
|
||
|
format-disconnected = "Disconnected ⚠";
|
||
|
format-alt = "{ifname}: {ipaddr}/{cidr}";
|
||
|
};
|
||
|
};
|
||
|
}];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
programs.sway.enable = true;
|
||
|
|
||
|
}
|