diff --git a/.gitignore b/.gitignore index 1fe6156..b5041c5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ key -root/etc/wireguard/*.conf \ No newline at end of file +root/etc/wireguard/*.conf +.smb \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d20ed3b --- /dev/null +++ b/.gitmodules @@ -0,0 +1,9 @@ +[submodule "root/home/bhasher/.oh-my-zsh/custom/themes/powerlevel10k"] + path = root/home/bhasher/.oh-my-zsh/custom/themes/powerlevel10k + url = https://github.com/romkatv/powerlevel10k.git +[submodule "root/home/bhasher/.oh-my-zsh/custom/themes/zsh-autosuggestions"] + path = root/home/bhasher/.oh-my-zsh/custom/themes/zsh-autosuggestions + url = https://github.com/zsh-users/zsh-autosuggestions +[submodule "root/home/bhasher/.oh-my-zsh/custom/themes/zsh-syntax-highlighting"] + path = root/home/bhasher/.oh-my-zsh/custom/themes/zsh-syntax-highlighting + url = https://github.com/zsh-users/zsh-syntax-highlighting.git diff --git a/root/etc/fstab b/root/etc/fstab new file mode 100644 index 0000000..1833377 --- /dev/null +++ b/root/etc/fstab @@ -0,0 +1,14 @@ +# /etc/fstab: static file system information. +# +# Use 'blkid' to print the universally unique identifier for a device; this may +# be used with UUID= as a more robust way to name devices that works even if +# disks are added and removed. See fstab(5). +# +# +UUID=5E89-61D3 /efi vfat defaults,noatime 0 2 +UUID=5cb21f05-2194-4a7b-98e0-20eb572e2a83 / ext4 defaults,noatime 0 1 +UUID=21e2b927-a86a-4232-a312-b95087267942 swap swap defaults 0 0 +tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0 +//192.168.1.201/brieuc /mnt/brieuc cifs credentials=/home/bhasher/.smb,uid=bhasher,gid=bhasher 0 0 +//192.168.1.201/commun /mnt/commun cifs credentials=/home/bhasher/.smb,uid=bhasher,gid=bhasher 0 0 +//192.168.1.201/movies /mnt/movies cifs credentials=/home/bhasher/.smb,uid=bhasher,gid=bhasher 0 0 diff --git a/root/etc/pacman.conf b/root/etc/pacman.conf new file mode 100644 index 0000000..2c86e5f --- /dev/null +++ b/root/etc/pacman.conf @@ -0,0 +1,107 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives + +# +# GENERAL OPTIONS +# +[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 = /tmp/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 +ILoveCandy +#NoProgressBar +#CheckSpace +VerbosePkgLists +DisableDownloadTimeout +ParallelDownloads = 10 + +# 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 + +# NOTE: You must run `pacman-key --init` before first using pacman; the local +# keyring can then be populated with the keys of all official Arch Linux +# packagers with `pacman-key --populate archlinux`. + +# +# REPOSITORIES +# - can be defined here or included from another file +# - pacman will search repositories in the order defined here +# - local/custom mirrors can be added here or in separate files +# - repositories listed first will take precedence when packages +# have identical names, regardless of version number +# - URLs will have $repo replaced by the name of the current repo +# - URLs will have $arch replaced by the name of the architecture +# +# Repository entries are of the format: +# [repo-name] +# Server = ServerName +# Include = IncludePath +# +# The header [repo-name] is crucial - it must be present and +# uncommented to enable the repo. +# + +# The testing repositories are disabled by default. To enable, uncomment the +# repo name header and Include lines. You can add preferred servers immediately +# after the header, and they will be used before the default mirrors. + +[endeavouros] +SigLevel = PackageRequired +Include = /etc/pacman.d/endeavouros-mirrorlist + +#[testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +[extra] +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +#Include = /etc/pacman.d/mirrorlist + +[community] +Include = /etc/pacman.d/mirrorlist + +# If you want to run 32 bit applications on your x86_64 system, +# enable the multilib repositories as required here. + +#[multilib-testing] +#Include = /etc/pacman.d/mirrorlist + +[multilib] +Include = /etc/pacman.d/mirrorlist + +# An example of a custom package repository. See the pacman manpage for +# tips on creating your own repositories. +#[custom] +#SigLevel = Optional TrustAll +#Server = file:///home/custompkgs diff --git a/root/home/bhasher/.config/yay/config.json b/root/home/bhasher/.config/yay/config.json new file mode 100644 index 0000000..2c490d4 --- /dev/null +++ b/root/home/bhasher/.config/yay/config.json @@ -0,0 +1,50 @@ +{ + "aururl": "https://aur.archlinux.org", + "aurrpcurl": "https://aur.archlinux.org/rpc?", + "buildDir": "/tmp/makepkg", + "editor": "", + "editorflags": "", + "makepkgbin": "makepkg", + "makepkgconf": "", + "pacmanbin": "pacman", + "pacmanconf": "/etc/pacman.conf", + "redownload": "no", + "answerclean": "", + "answerdiff": "", + "answeredit": "", + "answerupgrade": "", + "gitbin": "git", + "gpgbin": "gpg", + "gpgflags": "", + "mflags": "", + "sortby": "votes", + "searchby": "name-desc", + "gitflags": "", + "removemake": "ask", + "sudobin": "sudo", + "sudoflags": "", + "version": "12.2.0", + "requestsplitn": 150, + "completionrefreshtime": 7, + "maxconcurrentdownloads": 1, + "bottomup": true, + "sudoloop": false, + "timeupdate": false, + "devel": false, + "cleanAfter": false, + "keepSrc": false, + "provides": true, + "pgpfetch": true, + "cleanmenu": true, + "diffmenu": true, + "editmenu": false, + "combinedupgrade": true, + "useask": false, + "batchinstall": false, + "singlelineresults": false, + "separatesources": true, + "debug": false, + "rpc": true, + "doubleconfirm": true, + "rebuild": "no" +} diff --git a/root/home/bhasher/.oh-my-zsh/custom/themes/powerlevel10k b/root/home/bhasher/.oh-my-zsh/custom/themes/powerlevel10k new file mode 160000 index 0000000..307bce2 --- /dev/null +++ b/root/home/bhasher/.oh-my-zsh/custom/themes/powerlevel10k @@ -0,0 +1 @@ +Subproject commit 307bce24d19fa09d971a0d33c39f3c9fda82924e diff --git a/root/home/bhasher/.oh-my-zsh/custom/themes/zsh-autosuggestions b/root/home/bhasher/.oh-my-zsh/custom/themes/zsh-autosuggestions new file mode 160000 index 0000000..c3d4e57 --- /dev/null +++ b/root/home/bhasher/.oh-my-zsh/custom/themes/zsh-autosuggestions @@ -0,0 +1 @@ +Subproject commit c3d4e576c9c86eac62884bd47c01f6faed043fc5 diff --git a/root/home/bhasher/.oh-my-zsh/custom/themes/zsh-syntax-highlighting b/root/home/bhasher/.oh-my-zsh/custom/themes/zsh-syntax-highlighting new file mode 160000 index 0000000..e0165ea --- /dev/null +++ b/root/home/bhasher/.oh-my-zsh/custom/themes/zsh-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit e0165eaa730dd0fa321a6a6de74f092fe87630b0 diff --git a/root/home/bhasher/.smb.enc b/root/home/bhasher/.smb.enc new file mode 100644 index 0000000..8f6b55d --- /dev/null +++ b/root/home/bhasher/.smb.enc @@ -0,0 +1,2 @@ +U2FsdGVkX1/n6GStf1DnZcgDaVw0zpSavZK7iQfFZFCy5uk7qHl4rMlyGL7Ew7lJ +ctZZbA72/yMhPK8vXBApnA== diff --git a/root/home/bhasher/.vimrc b/root/home/bhasher/.vimrc new file mode 100644 index 0000000..81b3e68 --- /dev/null +++ b/root/home/bhasher/.vimrc @@ -0,0 +1,11 @@ +:set number +:set ignorecase +:set incsearch +:set relativenumber +:set autoindent +:syntax on +:set shiftwidth=2 +:set smarttab +:set expandtab +:set tabstop=8 +:set softtabstop=0 diff --git a/root/home/bhasher/.zshrc b/root/home/bhasher/.zshrc new file mode 100644 index 0000000..54c3a23 --- /dev/null +++ b/root/home/bhasher/.zshrc @@ -0,0 +1,31 @@ +if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then + source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" +fi + +export ZSH="$HOME/.oh-my-zsh" + +ZSH_THEME="powerlevel10k/powerlevel10k" + +zstyle ':omz:update' mode auto + +plugins=(git sudo zsh-autosuggestions zsh-syntax-highlighting) + +source $ZSH/oh-my-zsh.sh + +export EDITOR='vim' + +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh + +# Custom + +alias ip="ip -c" + +cat() { + for arg in "$@"; do + if [[ $arg == *.md ]]; then + mdcat "$arg" + else + command cat "$arg" + fi + done +}