dotfiles/home-manager/modules/home-manager.nix

51 lines
1.1 KiB
Nix
Raw Normal View History

2023-05-03 21:19:59 +00:00
{ config, pkgs, ... }: {
2022-09-26 22:50:43 +00:00
home.username = "opdavies";
home.homeDirectory = "/home/opdavies";
home.stateVersion = "22.05";
programs.home-manager.enable = true;
programs.i3status-rust = {
enable = true;
bars = {
default = {
blocks = [
{
block = "net";
format = " $ip ";
}
{
block = "battery";
format = " $icon $percentage $time ";
}
{
block = "cpu";
}
{
block = "memory";
format = " $icon $mem_total_used_percents.eng(w:2) ";
format_alt = " $icon_swap $swap_used_percents.eng(w:2) ";
}
{
block = "disk_space";
path = "/";
info_type = "available";
alert_unit = "GB";
interval = 20;
warning = 20.0;
alert = 10.0;
format = " $icon $available.eng(w:2) ";
}
{
block = "time";
interval = 1;
format = " $timestamp.datetime(f:'%F %T') ";
}
];
};
};
};
2022-09-26 22:50:43 +00:00
}