Giter VIP home page Giter VIP logo

home's Introduction

home

configs and dot files

To even start the install

Turn on PXE network in BIOS

Kernel params needed

nomodeset nvd_load=YES nvme_load=YES nvme_core.default_ps_max_latency_us=0

To install arch

If pacman is crapping itself try:

pacman-key --populate archlinux
pacman -Sy archlinux-keyring

After arch is installed

sudo pacman -Syu base-devel git linux-headers ly xorg-server nvidia zsh zsh-autosuggestions starship i3-wm i3lock i3status i3blocks firefox rofi emacs thunar mc jq wget perl python xfce4-terminal curl openssh unzip noto-fonts noto-fonts-emoji alsa-utils xorg-xmodmap vkd3d lib32-vkd3d lib32-gamemode gamemode vulkan-tools xorg-xrandr mangohud steam nerd-fonts galculator xorg-xset dunst udiskie grml-zsh-config nano less imagemagick xautolock nvidia-settings acpi sysstat brightnessctl rustup pinta maim xclip gfvs-smb

Install yay

pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Checkout home from git

git init .
git remote add -t \* -f origin <repository-url>
git checkout master

Change shell

chsh -s /bin/zsh

Enable ly

sudo systemctl enable ly.service

Enable high resolution shell

su -

add "console-mode max" to /boot/loader/loader.conf

this should work too (not tried yet) - !!! MUST BE SUDO!!!!

echo "console-mode max" >> /boot/loader/loader.conf

Make hung processes not block reboot or shutdown

edit "/etc/systemd/system.conf"

uncoment: DefaultTimeoutStopSec and set it to 5 or (not tried yet):

echo "DefaultTimeoutStopSec=5" >> /etc/systemd/system.conf

Enable tap to click on touchpad

Save file to "/etc/X11/xorg.conf.d/30-touchpad.conf"

Section "InputClass"
    Identifier "touchpad"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Tapping" "on"
    Option "TappingButtonMap" "lmr"
EndSection

Allow nvidia GPUs to sleep

sudo systemctl enable nvidia-persistenced.service

/etc/pacman.conf

[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#TotalDownload
CheckSpace
VerbosePkgLists
ILoveCandy

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

VPN

Move conf files to /etc/wireguard/some-conf.conf

wg-quick up some-conf

Yubikey login

sudo pacman -Syu pam-u2f

Add yubikey to a mapping file:

pamu2fcfg | sudo tee -a /etc/u2f_mappings

# (At this point, press the button. You should see a long string of numbers.
# If you don't, make sure you have `udev` setup correctly.)

sudo -i
echo >> /etc/u2f_mappings

Append to your display manager's of choice pam.d file in /etc/pam.d (ly & sudo in our case):

sudo echo "auth sufficient pam_u2f.so authfile=/etc/u2f_mappings cue" >>

home's People

Contributors

pirkus avatar filip-lovich-kubra avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.