From 85719227960d930f5b629318b2123c5fc021a7d0 Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Sat, 12 Jul 2025 11:42:10 -0700 Subject: [PATCH] Add new helpful utilities --- common/pc/default.nix | 2 ++ common/shell.nix | 9 +++++++-- home/googlebot.nix | 30 ++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) diff --git a/common/pc/default.nix b/common/pc/default.nix index cdcab21..20b50d4 100644 --- a/common/pc/default.nix +++ b/common/pc/default.nix @@ -92,5 +92,7 @@ in # Enable wayland support in various chromium based applications environment.sessionVariables.NIXOS_OZONE_WL = "1"; + + fonts.packages = with pkgs; [ nerd-fonts.symbols-only ]; }; } diff --git a/common/shell.nix b/common/shell.nix index caabafc..003e902 100644 --- a/common/shell.nix +++ b/common/shell.nix @@ -21,8 +21,6 @@ shellInit = '' # disable annoying fish shell greeting set fish_greeting - - alias sudo="doas" ''; }; @@ -36,6 +34,13 @@ io_rand_write = "${pkgs.fio}/bin/fio --name TEST --eta-newline=5s --filename=temp.file --rw=randrw --size=2g --io_size=10g --blocksize=4k --ioengine=libaio --fsync=1 --iodepth=1 --direct=1 --numjobs=1 --runtime=60 --group_reporting; rm temp.file"; llsblk = "lsblk -o +uuid,fsType"; + + sudo = "doas"; + + ls = "pls"; + ls2 = "eza"; + + explorer = "broot"; }; nixpkgs.overlays = [ diff --git a/home/googlebot.nix b/home/googlebot.nix index 1f81157..d7c25fa 100644 --- a/home/googlebot.nix +++ b/home/googlebot.nix @@ -11,6 +11,36 @@ in home.stateVersion = "24.11"; programs.home-manager.enable = true; + services.ssh-agent.enable = true; + + # System Monitoring + programs.btop.enable = true; + programs.bottom.enable = true; + + # Modern "ls" replacement + programs.pls.enable = true; + programs.eza.enable = true; + + # Graphical terminal + programs.ghostty.enable = thisMachineIsPersonal; + + # Advanced terminal file explorer + programs.broot.enable = true; + + # Shell promt theming + programs.fish.enable = true; + programs.starship.enable = true; + programs.starship.enableFishIntegration = true; + programs.starship.enableInteractive = true; + # programs.oh-my-posh.enable = true; + # programs.oh-my-posh.enableFishIntegration = true; + + # Advanced search + programs.ripgrep.enable = true; + + # tldr: Simplified, example based and community-driven man pages. + programs.tealdeer.enable = true; + programs.zed-editor = { enable = thisMachineIsPersonal; extensions = [