1
0
forked from extern/nix-config
donovanglover-nix-config/README.md
Donovan Glover a42e4ad4d0
Major clean up overall
This commit:

- Moves the rest of the packages from packages.sh to PKGBUILD
- Updates the README to include upstream packages instead of relying on
  our own local versions of them
- Removes the rest of the legacy install scripts
- Adds some missing config options and other useful commands to the
  README and help files
- Removes the local copy of launch-cmd in favor of upstream instead
- Moves a variety of smaller help files to other.md
- Adds fish information to other.md
- Moves automation information to install-guide.sh
- Removes the local copy of Arch Silence in favor of upstream instead
- Updates theme_helper.cr before eventually removing it in favor of Mica
2018-01-28 23:57:11 -05:00

7.1 KiB

New Start

GPLv3 License Creative Commons BY-SA Uses Crystal

Vim is my editor, *nix is my IDE.

Screenshot Screenshot

New Start is built on top of Arch GNU/Linux and consists of my dotfiles, install scripts, help files, and custom software.

Features

  • Universal themes
    • All Base16 themes supported.
    • It is trivial to make your own themes.
    • One command to change the color schemes in all the software you use.
  • Mouse-free
    • Never reach for your mouse again.
    • Vim-inspired keybindings.
  • Reproducability
    • Install the system from scratch and have the exact same configuration as before.
    • It is trivial to make your own live usb of the system.

Philosophy

  1. Use configuration files for everything. Make it easy to replicate your entire setup on multiple machines, without having to manually click through things or add obscurely large "config" files.
  2. Changing themes should make the computer feel completely different, but not affect the functionality itself.

Before You Begin

  1. Linux is not an operating system. All the so-called "Linux" distributions are actually distributions of GNU/Linux.
  2. Arch GNU/Linux is rolling-release. There is no such thing as having to install a new version of Arch.
  3. Free software gives you complete control over your computing. If something doesn't work, it's more often than not user error.
  4. Keep it simple. At the end of the day, you only need to use your computer for a few specific tasks, such as listening to music, writing software, sending messages, and using the internet. Don't overcomplicate things.

This system is different from your traditional point-click system. There is no such thing as "clicking the close button" here, or clicking anything for that matter.

Once mastered, the interface should not get in the way. Everything just works.

Installation

For installation, I assume that you already have a base Arch installation.

Install the packages from your local user account:

git clone https://github.com/GloverDonovan/new-start
cd new-start
makepkg -si
sudo pacman -U *.xz

If you don't have one already, install an AUR helper:

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
sudo pacman -U *.xz

Next, use your AUR helper to install the AUR packages:

yay -S shotgun polybar ttf-noto htop-vim-git inox-bin \
       waterfox-bin arch-silence-grub-theme launch-cmd

Enable the Arch Silence GRUB theme:

grub-mkconfig -o /boot/grub/grub.cfg

Install crystal ctags:

git clone https://github.com/SuperPaintman/crystal-ctags
cd crystal-ctags
sudo make install

Install all the vim plugins:

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
vim +PlugInstall +qall

Add the undo directory for regular vim:

mkdir ~/.vim/undo

Then choose which dotfiles you want to install:

mv dotfiles ~
cd ~/dotfiles
stow bspwm # Change this to whatever you want

Finally run startx and you should have a working system!

NOTE: Above is just a prototype and is not finalized. Expect changes.

Getting Started

Dotfiles

My dotfiles aim to be simple, straight-forward, and to the point. If you want to know how something works, just man software and /search for what you need to know!

Some of the software I use include (in no particular order):

For a complete list of the packages included, see the PKGBUILD.

If you want to use an alternative DNS server (such as OpenNIC), put the following in your etc/resolv.conf:

nameserver # IP of nameserver 1
nameserver # IP of nameserver 2 (fallback #1)
nameserver # IP of nameserver 3 (fallback #2)
options timeout:1

Other things I use:

Help Files

Help files are a way for me to keep track of all the useful commands I learn about certain software. They're compiled in easy-to-read files so I don't have to search the same thing over and over.

  • commands.md - The majority of terminal commands I use on a daily basis
  • git.md - There's a lot more to Git than you think (no pun intended)
  • gpg.md - Everything you need to know about GPG
  • profanity.md - A primer on using XMPP with Profanity
  • vim.md - A complete reference to everything I know (and find worth mentioning) about vim

Contributing

If you want to improve the help files or other parts of New Start then please file an issue first. Pull requests are accepted, but I'd prefer if you made an issue first!

License

  • Code is released under the GPLv3 license.
  • The install-guide.sh and help files are released under the Creative Commons BY-SA license.