Add server dotfiles (iris, vega, nebula, nexus)

Pulled zsh/vim/bash/htop/neofetch configs into server/<host>/.
Excluded secrets (.ssh/.kube/.docker/.ansible), shell/editor caches,
and vendored upstream frameworks (oh-my-zsh, Vundle plugins) per dotfiles
best practice; reinstall steps documented in README.md.
This commit is contained in:
Hermes
2026-07-20 08:54:45 -03:00
commit 399cda359f
19 changed files with 2657 additions and 0 deletions

18
server/iris/.bashrc Normal file
View File

@@ -0,0 +1,18 @@
# ~/.bashrc: executed by bash(1) for non-login shells.
# Note: PS1 and umask are already set in /etc/profile. You should not
# need this unless you want different defaults for root.
# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ '
# umask 022
# You may uncomment the following lines if you want `ls' to be colorized:
# export LS_OPTIONS='--color=auto'
# eval "$(dircolors)"
# alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
# alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'

View File

@@ -0,0 +1,63 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
htop_version=3.2.2
config_reader_min_version=3
fields=0 48 39 18 46 49 1
hide_kernel_threads=1
hide_userland_threads=1
hide_running_in_container=0
shadow_other_users=0
show_thread_names=0
show_program_path=1
highlight_base_name=1
highlight_deleted_exe=1
shadow_distribution_path_prefix=0
highlight_megabytes=1
highlight_threads=0
highlight_changes=0
highlight_changes_delay_secs=5
find_comm_in_cmdline=1
strip_exe_from_cmdline=1
show_merged_command=0
header_margin=0
screen_tabs=1
detailed_cpu_time=0
cpu_count_from_one=0
show_cpu_usage=1
show_cpu_frequency=0
show_cpu_temperature=0
degree_fahrenheit=0
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
enable_mouse=1
delay=15
hide_function_bar=0
header_layout=two_50_50
column_meters_0=AllCPUs CPU
column_meter_modes_0=1 1
column_meters_1=Memory Swap Tasks LoadAverage Uptime
column_meter_modes_1=1 1 2 2 2
tree_view=1
sort_key=46
tree_sort_key=47
sort_direction=1
tree_sort_direction=-1
tree_view_always_by_pid=0
all_branches_collapsed=0
screen:Main=PID USER M_RESIDENT NICE PERCENT_CPU TIME Command
.sort_key=PERCENT_CPU
.tree_sort_key=PERCENT_MEM
.tree_view=1
.tree_view_always_by_pid=0
.sort_direction=1
.tree_sort_direction=-1
.all_branches_collapsed=0
screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command
.sort_key=IO_RATE
.tree_sort_key=PID
.tree_view=0
.tree_view_always_by_pid=0
.sort_direction=-1
.tree_sort_direction=1
.all_branches_collapsed=0

67
server/iris/.vimrc Normal file
View File

@@ -0,0 +1,67 @@
set nohlsearch
set relativenumber
set nocompatible
set smartindent
filetype plugin on
syntax on
vmap <C-c> "+yi
vmap <C-x> "+c
vmap <C-v> c<ESC>"+p
imap <C-v> <C-r><C-o>+
let g:NERDTreeWinPos = "left"
set tabstop=4
set backspace=indent,eol,start
command WQ wq
command Wq wq
command W w
command Q q
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'itchyny/lightline.vim'
Plugin 'itchyny/vim-gitbranch'
Plugin 'VundleVim/Vundle.vim'
Plugin 'dracula/vim'
call vundle#end()
color dracula
""" =====> Lightline
set laststatus=2
let g:lightline = {
\ 'colorscheme': 'one',
\ 'active': {
\ 'left': [ ['mode','paste'],
\ ['gitbranch', 'readonly', 'filename', 'modified'] ]
\ },
\ 'component_function': {
\ 'gitbranch': 'fugitive#head'
\ },
\}
let g:lightline = {
\ 'colorscheme': 'one',
\ 'active': {
\ 'left': [ ['mode', 'paste'],
\ ['fugitive', 'readonly', 'filename', 'modified'] ],
\ 'right': [ [ 'lineinfo' ], ['percent'] ]
\ },
\ 'component': {
\ 'readonly': '%{&filetype=="help"?"":&readonly?"🔒":""}',
\ 'modified': '%{&filetype=="help"?"":&modified?"+":&modifiable?"":"-"}',
\ 'fugitive': '%{exists("*fugitive#head")?fugitive#head():""}'
\ },
\ 'component_visible_condition': {
\ 'readonly': '(&filetype!="help"&& &readonly)',
\ 'modified': '(&filetype!="help"&&(&modified||!&modifiable))',
\ 'fugitive': '(exists("*fugitive#head") && ""!=fugitive#head())'
\ },
\ 'separator': { 'left': ' ', 'right': ' ' },
\ 'subseparator': { 'left': ' ', 'right': ' ' }
\ }
if !has('gui_running')
set t_Co=256
endif

11
server/iris/.zshrc Normal file
View File

@@ -0,0 +1,11 @@
ZSH_DISABLE_COMPFIX=true
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="agnoster"
export TERM=xterm-256color
plugins=(git docker docker-compose zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh