1
0
forked from extern/nix-config
My NixOS configuration with Nix Flakes, Home Manager, Stylix, and Hyprland.
Go to file
2018-02-05 23:46:53 -05:00
dotfiles Update polybar config 2018-01-21 23:52:15 -05:00
etc Major clean up overall 2018-01-28 23:57:11 -05:00
help Add a way to undo git reset to help/git.md 2018-02-05 23:46:53 -05:00
stow/fish/.config/fish Add base fish config, managed with stow 2018-01-27 23:57:08 -05:00
.editorconfig Always trim trailing whitespace 2018-01-20 23:49:22 -05:00
.gitignore Remove output directories from the repository 2017-12-25 21:34:37 -05:00
.travis.yml Add crystal spec to .travis.yml 2017-12-22 23:43:16 -05:00
install-guide.sh Major clean up overall 2018-01-28 23:57:11 -05:00
LICENSE.md Add license 2017-10-23 00:11:29 -04:00
Makefile Add spec.cr and clean up Makefile 2018-01-30 23:55:05 -05:00
PKGBUILD Add yarn to PKGBUILD 2018-02-04 20:00:02 -05:00
README.md Major clean up overall 2018-01-28 23:57:11 -05:00
shard.yml Remove all dependencies from shard.yml 2018-01-10 23:51:37 -05:00
spec.cr Add spec.cr and clean up Makefile 2018-01-30 23:55:05 -05:00

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.