From 0331a1b53c9586a92c6b7555cc37bed27839ffb7 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 25 May 2026 15:27:53 -0500 Subject: Add fish as default shell with zoxide integration --- hosts/laptop/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hosts/laptop/configuration.nix') diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index 2ac3ce0..a2030fe 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -40,6 +40,11 @@ hibernate = "systemctl hibernate"; }; + programs.fish.shellAliases = { + battery = "echo (math (cat /sys/class/power_supply/BAT0/charge_now) * 100 / (cat /sys/class/power_supply/BAT0/charge_full))%"; + hibernate = "systemctl hibernate"; + }; + services.keyd = { enable = true; keyboards.default = { -- cgit v1.2.3