diff --git a/hosts/home.nix b/hosts/home.nix index b207762..68785a6 100644 --- a/hosts/home.nix +++ b/hosts/home.nix @@ -100,6 +100,15 @@ in # config.allowUnfree seems to not apply to nix-env, so is provided explicitly latest = "NIXPKGS_ALLOW_UNFREE=1 nix-env -f https://github.com/NixOS/nixpkgs/archive/master.tar.gz -iA"; }; - bashrcExtra = "pfetch\nfortune"; + bashrcExtra = '' + pfetch + while true; do + f=`fortune` + if [ ''${#f} -lt 128 ]; then + echo "''${f}" + break + fi + done + ''; }; }