Initial commit

This commit is contained in:
IxianPixel 2016-04-03 22:55:15 +01:00
commit d6a3263622
8 changed files with 308 additions and 0 deletions

133
README.md Normal file
View File

@ -0,0 +1,133 @@
# Installation
### Get Disk Blocks
lsblk
### Partitioning Tools
* cfdisk
* cgdisk
### Parition Notes
* GPT using Bios requires a 1MB partition as first partition with type BIOS Boot.
* GPT using EFI requires a 512MB parition as first patition with type EFI System formatted as FAT32.
### Formatting Partitions
* `mkfs.ext4 <parition name>`
* `mkfs.fat -F32 <partition name>`
### Mounting Partitions
* `mount <device> /mnt`
* `mount <device> /mnt/home`
### Pacstrap
* `pacstrap /mnt base base-sevel`
# Configuration
### Generate FSTAB
Generation: `genfstab -p /mnt >> /mnt/etc/fstab`
Output fstab: `cat /mnt/etc/fstab`
### chroot into installation
`arch-chroot /mnt`
### Set Hostname
`echo computer_name > /etc/hostname`
### Set Timezone
If you need a list of timezones run: `timedatectl list-timezones`
Set timezone with: `ln -s /usr/share/zoneinfo/*zone*/*subzone* /etc/localtime`
For London should be: `Europe/London`
### Set locale
Edit locale file with: `nano /etc/locale.gen`
For UK should be: `en_GB.UTF-8`
Generate locale with `locale-gen`
### Set keymap
Edit vconsole with `nano /etc/vconsole.conf`
Add `KEYMAP=uk` for UK
### Create Ramdisk
Set with `mkinitcpio -p linux`
### Set root password
Set with: `passwd`
# Boot Loader
## Single Boot (BIOS)
Install GRUB with: `pacman -S grub`
Install GRUB to MBR `grub-install /dev/sdx`
Configure GRUB: `grub-mkconfig -o /boot/grub/grub.cfg`
## Single Boot (EFI)
Install GRUB and EFI Boot Manager with: `pacman -S grub efibootmgr`
Mount ESP at /boot/efi with `mount <device> /boot/efi`
Install GRUB with `grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub`
Generate main config file with: `grub-mkconfig -o /boot/grub/grub.cfg`
## Multi Boot {EFI}
# Mount EFI Partition
Make dir for EFI mount: `mkdir -p /mnt/boot/efi`
Get partitions with: `gdisk -l /dev/sdx`
Disk with 100MB size and Name of EFI system partition is the one to use
Mount EFI with: `/mount/dev/sdx# /mnt/boot/efi`
# Generate fstab
Generate: `genfstab -p /mnt > /mnt/etc/fstab`
Output fstab: `cat /mnt/etc/fstab`
# Final Conf
### Add new user
`useradd -m -G wheel -s /bin/bash -c "Full Name" username`
`passwd username`
`nano /etc/sudoers`
Add `username ALL=(ALL) ALL`
### Enable DHCP
Get network adaptors: `ip addr`
Enable with `systemctyl enable dhcpcd@xxx.service`
### Add Yaourt
Edit: `/etc/pacman.conf`
Add the following repo:
```bash
[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch
```
Sync pacman with `pacman -Syu`
Install Yaourt with `pacman -S yaourt`
### Install Audio
Install with `pacman -S pulseaudio pulseaudio-alsa`
### Install Genv
Install Gnome Desktop `pacman -S gnome-desktop`
Install Xterm `pacman -S xterm`
Install GDM `pacman -S gdm`
Enable GDM with: `systemctl enable gdm`

13
atom/README.md Normal file
View File

@ -0,0 +1,13 @@
# New Atom Installation
** Disable metrics package **
* atom-beautify
* atom-typescript
* file-icons
* linter
* linter-jshint
* minimap
* pigments
* vim-mode
* predawn

93
dotfiles/.zshrc Normal file
View File

@ -0,0 +1,93 @@
# Path to your oh-my-zsh installation.
export ZSH=/home/dylan/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="agnoster"
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git archlinux git-flow)
# User configuration
export PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
# export MANPATH="/usr/local/man:$MANPATH"
source $ZSH/oh-my-zsh.sh
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
# export SSH_KEY_PATH="~/.ssh/dsa_id"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias c="chromium --incognito"
alias n="nvim"
alias rdp="xfreerdp /size:1920x1140 +clipboard +fonts -cert-ignore"
alias rdpfull="xfreerdp /f +clipboard +fonts -cert-ignore"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
DEFAULT_USER="dylan"

32
firefox/README.md Normal file
View File

@ -0,0 +1,32 @@
# New Firefox Installation
# WebRTC
Can be disabled by setting `media.peerconnection.enabled` to **false** in `about:config`
## Extentions
* Clean Links
* DownThemAll
* Enhanced Steam
* FindBar Tweak
* Greasemonkey
* HTTPS Everywhere
* Imagus
* Omnibar
* RES
* Referrer Control
* Stylish
* Tab Tree
* uBlock Origin
* Viewhance
## User Styles
* DarkTube
* Reddit Slate Nights 2.0 (Dark)
* Soundcloud.com - Nightmode
* Wikipedia Minimalistic Dark Material Design
## User Scripts
* YouTube +
## Themes
* Arc Dark Theme

23
fonts/README.md Normal file
View File

@ -0,0 +1,23 @@
# Fonts in Arch Linux
The script requires you to enable arch linux multilib repo in `/etc/pacman.conf`
The following repo's need to be added to `/etc/pacman.conf`
``` bash
[archlinuxfr]
SigLevel = Never
Server = http://repo.archlinux.fr/$arch
[infinality-bundle]
SigLevel = Never
Server = http://bohoomil.com/repo/$arch
[infinality-bundle-multilib]
SigLevel = Never
Server = http://bohoomil.com/repo/multilib/$arch
[infinality-bundle-fonts]
SigLevel = Never
Server = http://bohoomil.com/repo/fonts
```

8
fonts/install-fonts.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/sh
sudo pacman -Syu ttf-bitstram-vera ttf-inconsolata ttf-ubuntu-font-family ttf-dejavu ttf-freefont ttf-linux-libertine ttf-liberation
yaourt -S ttf-ms-fonts ttf-vista-fonts ttf-monaco ttf-qurancomplex-fonts
sudo ln -s /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d
sudo pacman -S infinality-bundle infinality-bundle-multilib

4
install-base-apps.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
sudo pacman -S neovim terminator tmux firefox htop chromium zsh git gnome-tweak-tool nautilus
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

2
install-themes.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/sh
yaourt -S gtk-theme-arc numix-circle-icon-theme-git