yep, more dotfiles
1{ config 2, lib 3, pkgs 4, lpkgs 5, ... 6}: 7 8let 9 flags = config.local.flags; 10 cfg = config.local.fragment.tools; 11in 12{ 13 options.local.fragment.tools.enable = lib.mkEnableOption '' 14 All sorts of CLIs, TUIs 15 ''; 16 17 config = lib.mkIf cfg.enable { 18 home.packages = (with pkgs; [ 19 # Man 20 ascii 21 man-pages 22 23 # TUIs 24 btop 25 glow 26 27 # CLIs 28 asciinema 29 calc 30 delta 31 dogdns 32 du-dust 33 encfs 34 fastfetch 35 fd 36 ffmpeg 37 file 38 fzf 39 inetutils 40 jq 41 just 42 killall 43 libnotify 44 lsof 45 mediainfo 46 openssl 47 ouch 48 parallel 49 pv 50 restic 51 ripgrep 52 speedtest-go 53 srgn 54 sshfs 55 termimage 56 tlrc 57 tokei 58 trash-cli 59 unzip 60 vlock 61 wcurl 62 wormhole-rs 63 ]) ++ lib.optionals (!flags.onlyCached) [ 64 lpkgs.otree 65 ]; 66 67 programs.bat = { 68 enable = true; 69 config = { 70 style = "plain"; 71 }; 72 }; 73 }; 74}