init
This commit is contained in:
10
config-files/.vimrc
Normal file
10
config-files/.vimrc
Normal file
@@ -0,0 +1,10 @@
|
||||
set tabstop =2
|
||||
set softtabstop =2
|
||||
set shiftwidth =2
|
||||
set expandtab
|
||||
set backupdir=/home/alfoldi/.vim-tmp
|
||||
set directory=/home/alfoldi/.vim-tmp
|
||||
|
||||
set exrc
|
||||
set secure
|
||||
|
||||
2
config-files/nokia.enc.helper.sh
Normal file
2
config-files/nokia.enc.helper.sh
Normal file
@@ -0,0 +1,2 @@
|
||||
sops --output-type yaml --age age17k7e9a8w95eu73uts6nr0fuww94kl5chrwgg0xudgmum03hv45sq9yuf4c --encrypt ./config-files/nokia.nmconnection > nokia.enc.nmconnection
|
||||
sops decrypt --input-type yaml --output-type binary config-files/nokia.enc.nmconnection
|
||||
15
config-files/nokia.enc.nmconnection
Normal file
15
config-files/nokia.enc.nmconnection
Normal file
File diff suppressed because one or more lines are too long
44
config-files/rclone-filters.txt
Normal file
44
config-files/rclone-filters.txt
Normal file
@@ -0,0 +1,44 @@
|
||||
# exclude common cruft and envs
|
||||
- **/.DS_Store
|
||||
- **/Thumbs.db
|
||||
- **/desktop.ini
|
||||
|
||||
# python
|
||||
- **/venv/**
|
||||
- **/.venv/**
|
||||
- **/__pycache__/**
|
||||
- **/*.pyc
|
||||
- **/.pytest_cache/**
|
||||
|
||||
+ **/.git
|
||||
+ **/.git/config
|
||||
- **/.git/**
|
||||
# - **/.git/objects/**
|
||||
# - **/.git/refs/**
|
||||
|
||||
# node
|
||||
- **/node_modules/**
|
||||
- **/dist/**
|
||||
- **/build/**
|
||||
|
||||
# caches, temporary
|
||||
- **/.cache/**
|
||||
- **/*.swp
|
||||
- **/*~
|
||||
- **/*.bak
|
||||
|
||||
# VM/disks/databases (review before enabling)
|
||||
- **/*.vdi
|
||||
- **/*.vmdk
|
||||
- **/*.iso
|
||||
- **/*.img
|
||||
- **/*.sqlite3
|
||||
- **/*.db
|
||||
|
||||
# more ignoring ...
|
||||
- **/.mypy_cache/**
|
||||
- **/__dist__/**
|
||||
- **/.ruff_cache/**
|
||||
- **/.tmp/**
|
||||
- **/tmp/**
|
||||
- **/.vagrant/**
|
||||
3
config-files/rclone.alfoldi.sh
Normal file
3
config-files/rclone.alfoldi.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
# rclone --filter-from config-files/rclone-filters.txt --config ~/.config/rclone/b2.storage.conf sync /home/alfoldi/workplace/home/ b2-storage:cnwco-storage/alfoldi/home --delete-excluded
|
||||
# rclone --filter-from config-files/rclone-filters.txt --config ~/.config/rclone/b2.storage.conf sync /home/alfoldi/workplace/home/ b2-storage:cnwco-storage/alfoldi/home --dry-run
|
||||
rclone --filter-from config-files/rclone-filters.txt --config ~/.config/rclone/b2.storage.conf sync /home/alfoldi/workplace/NOKIA/ b2-storage:cnwco-storage/alfoldi/NOKIA --dry-run
|
||||
12
config-files/rclone.conf
Normal file
12
config-files/rclone.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
[NokiaOneDrive]
|
||||
type = onedrive
|
||||
token = {"access_token":"","token_type":"Bearer","refresh_token":"1.ARAAURdHXXWWjUKRe3D0T5YwsNllVrGm7ZJAhTkO7Ddq_VkQABkQAA.BQABAwEAAAADAOz_BQD0__8RgzGNIRA3TSQx7WXz5v7H5EVEocAEePqGP_k3m_mmxxTsL5prcnqNIFAxh1BIwjdlr26zuAQWiTpLT0Bz6dfYILGRVpkbpZVbdc_XCssdUof2I0HyDfbGBfifzhYMsyj8IJlY6sSVJLHXmv2XbU5CpD_EBM51QTxpzjdG54_ldJes86sOtshu1wTFNqNAKEDVH-ae2-0153AwDjY1N6sBv35iqHrm-csn8y3Qx9Ee0fCrxFCV4x7QMpvnHk8Kc8WikGhSoVVJnOwMcY4cVwGfvZ3IvMsr0CE2aZQciJ_BUr6F1t72eDXNAhqJsEOJfWT9B81wlEQAYe7R39Pe3to5k_sbtjXVLIlAVcWPFMYQ2boyeRD0rdtlAjoyJecwLZVuKf5D3yEyV6LbznIkhmtkDQMG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type = business
|
||||
|
||||
[NokiaSharePoint]
|
||||
type = onedrive
|
||||
token = {"access_token":"","token_type":"Bearer","refresh_token":"1.ARAAURdHXXWWjUKRe3D0T5YwsNllVrGm7ZJAhTkO7Ddq_VkQABkQAA.BQABAwEAAAADAOz_BQD0_y9ehjxi2_gHUIE4pOws9ipNlooFA1T_c_-SoKE9Vd8mOPkxML0H8H9-5rEfDub5RoxMkYmEVpjXO04WQIhG9AGuEzNd_ecrKawyNtwU8b1uSJE4p8ogoBtncpdK3hkaa4jAHfo_Cvm8_pa-BhZWfryqCTapIBaDpBBL_YNPKoSsujUX4I_Zy2sV6PgDwv7FGUIz2HK_y839leLMIyieZgMr9ClefU1fJuFUQ8c33oQcUOsimAssLIGHc5NVbyxpUrPCO2rPfk_rKULhnsx-ZLy6TaltSRkec57Wog4aUxzd5fFy2WF5RJ7yEceo1Nd6NdcQ-ncqeAuYZBdk8IdlpYx3AJ6g4IU_M5o961mqKlJHJJfjc5r9QXKgakdWku835u-I-z4oUImsKKJZndfik5hUa_GQH0YpFT_Nkh_R8I3dkXkBWfVUZuVIuEPfLSnWkIVEgmnuV3dMEeu3oZTVBxpzvWFOEOXjOUDyo85Cejl7QGeMd2sKH1ee4vHAYuGf5I7v9gbmTwLTOd3ULgOMIKFVwcZoHmikDxJSl3n1lH0WSETP6YIv93fXL48IK556wW1NnTu-ZYNwD9gHU97mug1A1v0Mpp_X_Ix0iNkQ2-zG5FT88GzDZk-rE-eiye_Bq2Hyc15b6PJC3Hwgjg9Ci_iCjbjIO3WotkZbV1cpwSvtbu72n51jMO2cHFqXfvF7vOsDhgipCNU1MMnfqXG9eKnDxKKqwL_Jgz4070jSbfGm5AzhLWvGYX147tGZ1kz_JQ7OetQX30yEwLEw2tXprtdlFqjRWxo5lh_07V1LicORabmWL8_vMauuCRdZ_m6RwK3mwb0L_yoGZ__bS4Y95w0MCgAfu-3AnGgCV2xWRtq49M1ucjlGcU3TLdGz35enjG0vWY64kO_xQ2kCTYGVwFpImR02EaOuQnlndmnp2kBuGKgs2T5QcQ096xKkxa1omptkkLhgh7jPKexoVqIuwWVT_BJps5BraUBdep5A-XjD6oCvhAuwY3qJI7Hjez0mUYLvP7P-7xhT5nBw-Q5SCmZrmIaSEuyKgHlE1WcdvQV2t5lBU0KQ3b4TSEqxfP9t1Hu0kbPceIvdJjPiQ1kEB-DEqB7HZ0LlebYSdgAWlwuVtfxbu242ZB-qtQr64bMeKdYP4ltIFOgwDE7B-1eY0HY7Przu7dK23e1_gJAJ1js5C7BrtdaJs3ULXH3R-Bowqln-xxzF2RdeMJpDrKuo0iJ1yF5xdehu0cEkR7V_qFZ7iPsh8h3h_xK7dPPNR4H3P_ABUE3xSUSUx1r2OO4NergXHxZku4qayh36laEcfzwqoOh-DQT-T6PdzD1fMFl72V4ikDhTj2vrFfH9","expiry":"2025-11-17T03:18:03.526767239+01:00","expires_in":3599}
|
||||
drive_id = b!KYmFKOmdnkuSkc8bRewSC4UuJN0bH89BjwJ4EyMN-SNDFuXWviqkQpZdC2IPBjPL
|
||||
drive_type = documentLibrary
|
||||
|
||||
105
config-files/restic-exclude-files.txt
Normal file
105
config-files/restic-exclude-files.txt
Normal file
@@ -0,0 +1,105 @@
|
||||
|
||||
# Cache directories
|
||||
.cache/
|
||||
*.cache/
|
||||
**/cache/
|
||||
**/Cache/
|
||||
**/CacheData/**
|
||||
**/CachedData/**
|
||||
**/CacheStorage/**
|
||||
**/Extensions/**
|
||||
**/Index*DB/**
|
||||
**/Code/logs/**
|
||||
|
||||
# Temporary files
|
||||
.tmp/
|
||||
*.tmp/
|
||||
**/tmp/
|
||||
/tmp/
|
||||
|
||||
# Browser caches and data
|
||||
.mozilla/firefox/*/cache2/
|
||||
.config/google-chrome/*/Cache/
|
||||
.config/chromium/*/Cache/
|
||||
|
||||
# Development Stuffs
|
||||
node_modules/
|
||||
.venv/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
|
||||
# System garbage
|
||||
.Trash/
|
||||
.local/share/Trash/
|
||||
|
||||
# Large media caches that we don't care about
|
||||
.thumbnails/
|
||||
|
||||
# Junk from Windows Drives
|
||||
$RECYCLE.BIN/
|
||||
System\ Volume\ Information/
|
||||
|
||||
|
||||
**/venv/**
|
||||
**/.venv/**
|
||||
**/__pycache__/**
|
||||
**/*.pyc
|
||||
**/.pytest_cache/**
|
||||
|
||||
# git
|
||||
# **/.git/*
|
||||
**/.git/*
|
||||
!**/.git/config
|
||||
|
||||
# node
|
||||
**/virtualenv/**
|
||||
**/node_modules/**
|
||||
**/.ansible/**
|
||||
**/.tldrc/**
|
||||
**/.npm/**
|
||||
**/.cargo/**
|
||||
**/.docker/buildx/**
|
||||
**/dist/**
|
||||
**/build/**
|
||||
|
||||
# caches, temporary
|
||||
**/.cache/**
|
||||
**/*.swp
|
||||
**/*~
|
||||
**/*.bak
|
||||
|
||||
# VM/disks/databases (review before enabling)
|
||||
**/*.vdi
|
||||
**/*.vmdk
|
||||
**/*.iso
|
||||
**/*.img
|
||||
**/*.sqlite3
|
||||
**/*.db
|
||||
|
||||
# more ignoring ...
|
||||
**/.mypy_cache/**
|
||||
**/__dist__/**
|
||||
**/.ruff_cache/**
|
||||
**/.tmp/**
|
||||
**/tmp/**
|
||||
**/.vagrant/**
|
||||
**/.arduino15/**
|
||||
**/.config/intune/**
|
||||
**/.config/libvirt/**
|
||||
**/.config/microsoft-edge/**
|
||||
|
||||
|
||||
**/VirtualBox VMs
|
||||
# /home/alfoldi/go
|
||||
**/go/**
|
||||
**/snap
|
||||
**/share/containers/storage/**
|
||||
**/NokiaOneDrive/**
|
||||
**/NokiaSharePoint/**
|
||||
**/.vagrant.d/**
|
||||
**/.vscode-server/**
|
||||
**/.vscode/**
|
||||
**/.local/share/nvim/**
|
||||
**/.local/state/nvim/**
|
||||
**/.local/share/pipx/**
|
||||
|
||||
1
config-files/restic.alfoldi.sh
Normal file
1
config-files/restic.alfoldi.sh
Normal file
@@ -0,0 +1 @@
|
||||
restic backup /home/alfoldi --exclude-file home-manager/config-files/restic-exclude-files.txt
|
||||
16
config-files/starship.toml
Normal file
16
config-files/starship.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
[kubernetes]
|
||||
style = "bold #2b6fe5"
|
||||
disabled = false
|
||||
|
||||
[directory]
|
||||
truncate_to_repo = false
|
||||
|
||||
[hostname]
|
||||
ssh_only = false
|
||||
|
||||
[username]
|
||||
# style_user = 'white bold'
|
||||
# style_root = 'black bold'
|
||||
# format = 'user: [$user]($style) '
|
||||
# disabled = false
|
||||
show_always = true
|
||||
56
config-files/tmux.conf
Normal file
56
config-files/tmux.conf
Normal file
@@ -0,0 +1,56 @@
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
# bind-key q last-window
|
||||
# bind q last-window
|
||||
bind-key -T prefix e switch-client -T last_window
|
||||
bind-key -T last_window e last-window
|
||||
|
||||
# bind cc new-window -c "#{pane_current_path}"
|
||||
|
||||
#
|
||||
# want to open new panel with current session path ...
|
||||
# but space already taken for another shortcut
|
||||
#
|
||||
# bind-key -T prefix Space switch-client -T prefix_c
|
||||
# bind-key -T prefix_c c new-window -c "#{pane_current_path}"
|
||||
# bind-key -T prefix_c % split-window -h -c "#{pane_current_path}"
|
||||
# bind-key -T prefix_c '"' split-window -v -c "#{pane_current_path}"
|
||||
|
||||
# bind Space split-window -h -c "#{pane_current_path}"
|
||||
# bind r split-window -h -c "#{pane_current_path}"
|
||||
# bind % split-window -h -c "#{pane_current_path}"
|
||||
# bind '"' split-window -v -c "#{pane_current_path}"
|
||||
|
||||
# List of plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
|
||||
# weird escape char when tmux starting
|
||||
set -sg escape-time 250
|
||||
# vi mode
|
||||
setw -g mode-keys vi
|
||||
|
||||
set -s copy-command 'wl-copy'
|
||||
|
||||
# (Optional) Explicitly bind 'v' to begin selection if not working
|
||||
# bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||
# bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
|
||||
|
||||
# press <prefix>‑T to toggle between C‑b and C‑a
|
||||
bind-key T run-shell "~/.tmux/toggle-prefix.sh"
|
||||
|
||||
set-option -g default-shell "/bin/bash"
|
||||
set -g default-terminal "screen-256color"
|
||||
new -n WindowName bash --login
|
||||
|
||||
# Other examples:
|
||||
# set -g @plugin 'github_username/plugin_name'
|
||||
# set -g @plugin 'git@github.com/user/plugin'
|
||||
# set -g @plugin 'git@bitbucket.com/user/plugin'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
Reference in New Issue
Block a user