{ pkgs, lib, ... }: let powerlineOpts = [ "-mode=flat" "-colorize-hostname" "-cwd-mode=dironly" "-modules=user,host,cwd,nix-shell,git,jobs" "-git-assume-unchanged-size 0" ]; in { environment.systemPackages = with pkgs; [ pwgen pv tree psmisc ncdu git file sqlite usbutils entr ffmpeg gcc python3 openssl wget lm_sensors htop jq zip unzip dnsutils whois tcpdump rsync nixpkgs-fmt nix-index (writeShellScriptBin "dirt" "while sleep 1; do grep '^Dirty:' /proc/meminfo ; done") (writeShellScriptBin "nix-roots" "nix-store --gc --print-roots | grep -v ^/proc/") (vim_configurable.customize { name = "vim"; vimrcConfig.customRC = '' syntax enable filetype plugin indent on set nowrap ruler scrolloff=9 backspace=start,indent ''; }) (writeScriptBin "zfsram" '' #!${pkgs.python3}/bin/python for ln in open('/proc/spl/kstat/zfs/arcstats').readlines(): if ln.startswith('size '): print(str(int(ln.split(' ')[-1])/(1024*1024*1024))[:5],'GB') '') (writeShellScriptBin "channel" '' branch="$(jq -r .nodes.nixpkgs.original.ref