diff --git a/modules/applications/misc.nix b/modules/applications/misc.nix index 827ef4f..2b103e3 100644 --- a/modules/applications/misc.nix +++ b/modules/applications/misc.nix @@ -5,6 +5,7 @@ exa # ls replacement mkpasswd # hash passwords gnupg + acpi # show remaining battery # typespeed # speed typing game # unixtools.xxd # to dump binary stuff into a text file (used it for a ctf) # youtube-dl # download from youtube diff --git a/modules/applications/shells/aliases.nix b/modules/applications/shells/aliases.nix index 180344b..3534f35 100644 --- a/modules/applications/shells/aliases.nix +++ b/modules/applications/shells/aliases.nix @@ -15,6 +15,9 @@ "v-mid" = "amixer set Master 50%"; "v-max" = "amixer set Master 100%"; + # Print available battery + battery = "acpi"; + # Rebuuild nixos rebuild = "sudo nixos-rebuild switch --flake ~/Projects/nixos-config/";