System/droid.nix

116 lines
2.7 KiB
Nix
Raw Normal View History

2022-05-16 20:32:02 -04:00
{ config, lib, pkgs, unstable, fenix, ... }:
2022-05-16 20:24:16 -04:00
{
system.stateVersion = "21.11";
2022-05-16 20:32:59 -04:00
2022-05-16 20:24:16 -04:00
environment.sessionVariables = {
XDG_RUNTIME_DIR = "/data/data/com.termux.nix/files/home/run";
GDK_DPI_SCALE = "2";
GDK_SCALE = "2";
};
2022-05-16 20:32:02 -04:00
2022-05-16 20:36:11 -04:00
# Get home-manager up and running
home-manager.config = ./home-manager/common.nix;
2022-05-16 20:32:02 -04:00
# Have to put packages here, as it does not have environment.systemPackages
environment.packages = with pkgs;
[
###
## utils-core
###
# Basic command line utilities
wget
tmux
nano
unzip
any-nix-shell
htop
# Spell check
hunspell
hunspellDicts.en-us
# Rust rewrites of common shell utilities
2022-05-16 22:13:44 -04:00
starship
2022-05-16 20:32:02 -04:00
exa
bat
fd
sd
du-dust
ripgrep
ripgrep-all
tokei
hyperfine
unstable.bottom
dogdns
duf
# CLI Markdown renderer
glow
# Command line file manager
broot
# Much better curl
unstable.httpie
# CLI spreadsheets
visidata
# User friendly cut
choose
# Cheatsheet manager
cheat
# Ping with a graph
gping
# Man but terse
tealdeer
# Pandoc for documentation
unstable.pandoc
# For nslookup
dnsutils
# Feh image viewer
feh
# Mosh for better high-latency ssh
mosh
###
## devel-core
###
# Full version of git
2022-05-16 22:15:31 -04:00
gitFull
2022-05-16 20:32:02 -04:00
# Git addons
git-secret
2022-05-16 22:15:31 -04:00
git-lfs
2022-05-16 20:32:02 -04:00
delta
# General development requirements
python3Full
cmake
libtool
gnumake
nixpkgs-fmt
# jq for interacting with JSON
jq
jc
# Viewer for deeply nested JSON
fx
# Direnv for nix-shell niceness
direnv
###
## devel-rust
###
# Use rustup to get the compiler
rustup
# Install the latest rust analyzer
fenix.rust-analyzer
# Sccache for faster builds
2022-05-16 21:40:35 -04:00
# sccache
2022-05-16 20:32:02 -04:00
# Misc cargo utilites
cargo-binutils # Allow invoking the llvm tools included with the toolchain
cargo-edit # Command line Cargo.toml manipulation
cargo-asm # Dump the generated assembly
cargo-fuzz # front end for fuzz testing rust
cargo-license # Audit the licenses of dependencies
cargo-criterion # Benchmarking front end
cargo-audit # Check dependencies for known CVEs
cargo-bloat # Find out what's taking up space in the executable
cargo-udeps # Find unused dependencies
cargo-expand # Dump expanded macros
cargo-play # Quickly execute code outside of a crate
# For building stuff that uses protocol buffers
protobuf
];
2022-05-16 20:24:16 -04:00
}