chore: import nixos files

This commit is contained in:
Michael Mandl 2024-07-09 21:58:33 +02:00
parent 5ea6b4bd06
commit 6823f37d6b
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
42 changed files with 1520 additions and 60 deletions

34
sway/i3status-rust.nix Normal file
View file

@ -0,0 +1,34 @@
{ pkgs, ... }:
{
programs.i3status-rust = {
enable = true;
bars = {
default = {
theme = "solarized-dark";
icons = "awesome6";
blocks = [
{
block = "net";
format = " $icon { ($ssid) |}";
click = [{
button = "left";
cmd = "${pkgs.iwgtk}/bin/iwgtk";
}];
}
{
block = "battery";
missing_format = "";
format = " $icon {($time h) |}$percentage ";
}
{
block = "time";
interval = 60;
format = " $icon $timestamp.datetime(f:'%a %d.%m %R') ";
}
];
};
};
};
}