mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 09:47:57 +02:00
Add 10x scripts
This commit is contained in:
parent
9f39e53637
commit
4bf2581d55
13
sh/101-rng-tools
Normal file
13
sh/101-rng-tools
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# The `rng-tools` package is used to increase entropy and make
|
||||||
|
# /dev/random faster. This is useful for many programs, including
|
||||||
|
# [SDDM](https://wiki.archlinux.org/index.php/SDDM).
|
||||||
|
#
|
||||||
|
# https://wiki.archlinux.org/index.php/Rng-tools
|
||||||
|
|
||||||
|
set -xe
|
||||||
|
|
||||||
|
sudo pacman -S rng-tools
|
||||||
|
|
||||||
|
systemctl enable rngd.service
|
17
sh/102-xdg-user-dirs
Normal file
17
sh/102-xdg-user-dirs
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# XDG user dirs are a universal way to store files. They are used
|
||||||
|
# by other programs to determine where to find and save files.
|
||||||
|
#
|
||||||
|
# The following directories are created with `xdg-user-dirs`:
|
||||||
|
#
|
||||||
|
# Desktop | Documents | Downloads | Music
|
||||||
|
# Pictures | Public | Templates | Videos
|
||||||
|
#
|
||||||
|
# https://wiki.archlinux.org/index.php/Xdg_user_directories
|
||||||
|
|
||||||
|
set -xe
|
||||||
|
|
||||||
|
sudo pacman -S xdg-user-dirs
|
||||||
|
|
||||||
|
xdg-user-dirs-update
|
20
sh/103-git
Normal file
20
sh/103-git
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Git is the standard version control system.
|
||||||
|
#
|
||||||
|
# `diff-so-fancy` is used to show colorful diffs. These diffs
|
||||||
|
# look much better than the default, so I highly recommend it.
|
||||||
|
#
|
||||||
|
# `tig` is used as a terminal-based GUI for the git commit tree.
|
||||||
|
# It works really well and supports many vim keybindings out of
|
||||||
|
# the box.
|
||||||
|
#
|
||||||
|
# https://wiki.archlinux.org/index.php/Git
|
||||||
|
|
||||||
|
set -xe
|
||||||
|
|
||||||
|
sudo pacman -S git
|
||||||
|
|
||||||
|
sudo pacman -S diff-so-fancy
|
||||||
|
|
||||||
|
sudo pacman -S tig
|
9
sh/104-tmux
Normal file
9
sh/104-tmux
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# `tmux` is the standard terminal multiplexer.
|
||||||
|
#
|
||||||
|
# https://wiki.archlinux.org/index.php/Tmux
|
||||||
|
|
||||||
|
set -xe
|
||||||
|
|
||||||
|
pacman -S tmux
|
17
sh/105-zsh
Normal file
17
sh/105-zsh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# If for some reason you want to install zsh, you can do that
|
||||||
|
# here. However, keep in mind that zsh requires a lot of
|
||||||
|
# configuration to behave similarly to fish.
|
||||||
|
#
|
||||||
|
# In other words, use fish.
|
||||||
|
#
|
||||||
|
# https://wiki.archlinux.org/index.php/Zsh
|
||||||
|
|
||||||
|
set -xe
|
||||||
|
|
||||||
|
pacman -S zsh
|
||||||
|
|
||||||
|
pacman -S grml-zsh-config
|
||||||
|
|
||||||
|
pacman -S zsh-syntax-highlighting
|
34
sh/106-cli
Normal file
34
sh/106-cli
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# This script installs an assortment of common CLI tools that I use
|
||||||
|
# regularly enough to warrant inclusion.
|
||||||
|
#
|
||||||
|
# Note that you could also install `lolcat` if you really wanted to.
|
||||||
|
#
|
||||||
|
# https://github.com/junegunn/fzf
|
||||||
|
# https://github.com/sharkdp/fd
|
||||||
|
# https://github.com/BurntSushi/ripgrep
|
||||||
|
# https://github.com/jakubroztocil/httpie
|
||||||
|
# https://github.com/ogham/exa
|
||||||
|
# https://github.com/stedolan/jq
|
||||||
|
# https://github.com/borgbackup/borg
|
||||||
|
# https://github.com/rg3/youtube-dl
|
||||||
|
|
||||||
|
set -xe
|
||||||
|
|
||||||
|
pacman -S jq # JSON manipulation
|
||||||
|
pacman -S ripgrep # Faster than ag / ack / grep
|
||||||
|
pacman -S fzf # Fuzzy find anything
|
||||||
|
pacman -S httpie # Make HTTP requests
|
||||||
|
pacman -S fd # Faster alternative to find
|
||||||
|
pacman -S exa # Drop-in replacement for ls and tree
|
||||||
|
|
||||||
|
pacman -S fdupes # Find duplicate files
|
||||||
|
pacman -S bind-tools # DNS tools like dig
|
||||||
|
|
||||||
|
pacman -S ncdu # Ncurses du (disk usage)
|
||||||
|
pacman -S borg # Backup directories
|
||||||
|
pacman -S youtube-dl # View online videos in mpv
|
||||||
|
pacman -S neofetch # Bragging rights
|
||||||
|
|
||||||
|
pacman -S pygmentize # Command line syntax highlighting (used for 'dog')
|
Loading…
x
Reference in New Issue
Block a user