chore: nix fmt

This commit is contained in:
514fpv 2025-01-13 11:52:09 +08:00
parent a80bd4ed3b
commit 7266fff06e
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw
128 changed files with 3402 additions and 2013 deletions

View file

@ -1,7 +1,11 @@
{ pkgs
, lib
, config
, ... }: with lib; mkIf config.passthrough.gui {
{
pkgs,
lib,
config,
...
}:
with lib;
mkIf config.passthrough.gui {
programs.i3status = {
enable = true;
enableDefault = false;
@ -48,8 +52,9 @@
position = 5;
settings = {
format = "%1min %5min %15min";
max_threshold =
removeSuffix "\n" (builtins.readFile (pkgs.runCommandLocal "nproc" { } "nproc > $out"));
max_threshold = removeSuffix "\n" (
builtins.readFile (pkgs.runCommandLocal "nproc" { } "nproc > $out")
);
};
};
@ -70,7 +75,9 @@
"tztime local" = {
position = 127;
settings = { format = "%Y-%m-%d %H:%M:%S"; };
settings = {
format = "%Y-%m-%d %H:%M:%S";
};
};
};
};