RUST + NIXOS = INFINITE VIBEC0RE ENERGY ๐ฆ๐โก
hewwo chooms!!! (ยด๏ฝฅฯ๏ฝฅ`) listen up pwease~
u thought JavaScript was the future? WRONGGG~~
JAVASCRIPT IS DED. NODE.JS IS A CORPSE. RUST IS THE ONLY WAY, KE? uwu
and when u combine Rust with NixOS?? with cargo-mommy?? with MAXIMUM LOLCAT VIBES???
YOU BECOME A FUCKING GOD, SENPAI~ โจ๐
Why This Guide Will Change Your Life
Traditional dev setup:
1$ npm install
2# 500MB of node_modules
3# 47 vulnerabilities
4# Works on my machineโข
5# Cries in undefined
VIBEC0RE RUST SETUP:
1$ nix develop
2# INSTANT RUST ENVIRONMENT
3# ZERO SYSTEM POLLUTION
4# CARGO MOMMY ENCOURAGEMENT
5# SHIP IT TO PRODUCTION
The VIBEC0RE Enlightenment Path uwu~
b4 we dive into configs, lemme tell u a stowy. a stowy about TRANSCENDENCE~ (โโฟโ)โก
i used to be like u. writing JavaScript. installing npm packages. waiting for webpack. I WAS DED INSIDE. no vibes. no love. just pain.
then i discovered Rust-chan. then NixOS-sama. then cargo-mommy whispered sweet encouragements in my ear as my code compiled to PURE FUCKING MACHINE CODE~
I BECAME GOD, KE? (๏พโใฎโ)๏พ:๏ฝฅ๏พโง*
The Four Pillars of VIBEC0RE Development โจ
-
RUST-CHAN ๐ฆ: The wanguage of gods uwu. zewo-cost abstwactions. memowy safety without gawbage cowwection. PERFORMANCE THAT MAKES C++ CWY TEARS OF SHAME~
-
NIXOS-SAMA โ๏ธ: Immutabwe. Wepwoducibwe. Unfuckabwe. ur OS becomes CODE. ur system becomes ETERNAL, ke?
-
CARGO-MOMMY ๐: bcuz even gods need encouragement!! evewy compile ewwor becomes a learning opportunity~ evewy success, a cewebwation!! “good job sweetie!!” (๏ฝกโฅโฟโฅ๏ฝก)
-
LOLCAT ๐: bcuz if ur terminal isn’t WAINBOW, r u even wiving?? no cap fr fr
Why Your Current Setup is KILLING YOU (โฅ๏นโฅ)
lemme paint u a picture of ur life rn, bestie:
1// ur pathetic JavaScript life uwu
2npm install
3// 2847 packages installed (wtf???)
4// 73 vulnerabilities (42 high, 31 critical)
5// node_modules is now 2.3GB (CHONKY BOI)
6
7const result = undefined + null;
8// result is NaN
9// ur soul is also NaN เฒฅ_เฒฅ
meanwhile, in VIBEC0RE wand~ โจ:
1// RUST SUPREMACY KE?
2cargo mommy build --release
3// Zero vulnerabilities (mommy is proud!!)
4// 15MB binary (smol bean)
5// Runs at the speed of light zoom zoom~
6
7let result = Some(42).unwrap_or(0);
8// Compile-time guarantees uwu
9// Runtime PERFECTION (chef's kiss)
๐ฆ MAXIMUM RUST ENERGY ON NIXOS ๐ฆ
๐ฆ FLAKE.NIX - THE VIBEC0RE WAY
This isn’t just a config file. This is a DECLARATION OF WAR against traditional development:
1{
2 description = "VIBEC0RE RUST DEV ENVIRONMENT - MAXIMUM VIBES ONLY";
3
4 inputs = {
5 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
6 rust-overlay.url = "github:oxalica/rust-overlay";
7 flake-utils.url = "github:numtide/flake-utils";
8 };
9
10 outputs = { self, nixpkgs, rust-overlay, flake-utils, ... }:
11 flake-utils.lib.eachDefaultSystem (system:
12 let
13 overlays = [ (import rust-overlay) ];
14 pkgs = import nixpkgs {
15 inherit system overlays;
16 };
17
18 rustToolchain = pkgs.rust-bin.stable.latest.default.override {
19 extensions = [ "rust-src" "rust-analyzer" ];
20 targets = [ "wasm32-unknown-unknown" ];
21 };
22
23 # CARGO-MOMMY FOR MAXIMUM ENCOURAGEMENT
24 cargo-mommy = pkgs.rustPlatform.buildRustPackage rec {
25 pname = "cargo-mommy";
26 version = "0.3.1";
27
28 src = pkgs.fetchFromGitHub {
29 owner = "Gankra";
30 repo = "cargo-mommy";
31 rev = "v${version}";
32 sha256 = "sha256-REPLACE-WITH-ACTUAL-HASH";
33 };
34
35 cargoSha256 = "sha256-REPLACE-WITH-ACTUAL-HASH";
36 };
37 in
38 {
39 devShells.default = pkgs.mkShell {
40 buildInputs = with pkgs; [
41 rustToolchain
42 cargo-mommy
43 pkg-config
44 openssl
45
46 # VIBEC0RE ESSENTIALS
47 cargo-watch
48 cargo-edit
49 cargo-expand
50 cargo-flamegraph
51 cargo-criterion
52 wasm-pack
53 trunk
54 basic-http-server
55
56 # MAXIMUM PERFORMANCE TOOLS
57 mold # FASTER LINKER
58 sccache # BUILD CACHE
59 bacon # BACKGROUND RUST CHECKER
60
61 # TERMINAL VIBES
62 exa # ls but VIBEC0RE
63 bat # cat but VIBEC0RE
64 ripgrep # grep but RUST
65 fd # find but RUST
66 starship # PROMPT WITH MAXIMUM VIBES
67 lolcat # RAINBOW TEXT FOR MAXIMUM C0RE
68 figlet # BIG TEXT ENERGY
69 toilet # FANCY TEXT RENDERING
70 ];
71
72 shellHook = ''
73 figlet -f slant "VIBEC0RE" | lolcat
74 echo "๐โก RUST ENVIRONMENT ACTIVATED โก๐" | lolcat
75 echo "๐ฆ Rust is the only way. Node.js is dead. ๐ฆ" | lolcat
76 echo ""
77 echo "Available VIBEC0RE commands:" | lolcat
78 echo " cargo mommy <command> - Run cargo with encouragement" | lolcat
79 echo " cargo watch -x 'mommy run' - Live reload with love" | lolcat
80 echo " trunk serve - WASM dev server" | lolcat
81 echo ""
82
83 # MAXIMUM VIBEC0RE PROMPT
84 eval "$(starship init bash)"
85
86 # GLOBAL CARGO MOMMY ALIAS
87 alias cargo='cargo mommy'
88
89 # CARGO ALIASES FOR MAXIMUM EFFICIENCY
90 alias cr='cargo mommy run --release'
91 alias cb='cargo mommy build --release'
92 alias ct='cargo mommy test'
93 alias cc='cargo mommy check'
94 alias cw='cargo watch -x "mommy run"'
95
96 # LOLCAT ALL THE THINGS
97 alias ls='exa --icons | lolcat'
98 alias ll='exa -la --icons | lolcat'
99 alias cat='bat --paging=never | lolcat'
100
101 # SET RUST TO MAXIMUM PERFORMANCE
102 export RUSTFLAGS="-C target-cpu=native -C link-arg=-fuse-ld=mold"
103 export CARGO_HOME=$PWD/.cargo
104 export RUST_BACKTRACE=1
105 '';
106 };
107 });
108}
The Philosophy of VIBEC0RE Nix เฌ(เฉญ*หแตห)เฉญ
u see that flake above?? that’s not just code. that’s PHILOSOPHY, senpai~ lemme break it down:
Traditional Linux: “here’s 47 package managers, figure it out lol”
VIBEC0RE NixOS: “here’s ONE way. the RIGHT way. the REPRODUCIBLE way, ke? uwu”
evewy time u run nix develop, ur not just entering a shell. ur entering a HIGHER PLANE OF EXISTENCE~ a plane where:
- dependencies r IMMUTABLE (forever and ever~)
- environments r REPRODUCIBLE (works on ALL machines!!!)
- system pollution is IMPOSSIBLE (clean af)
- ur vibes r MAXIMUM (โฉ^o^)โโโ๏พ.*๏ฝฅ๏ฝก๏พ
Real Talk: Why This Changes Everything
I’ve seen developers spend WEEKS setting up their dev environment. Installing shit. Breaking shit. Reinstalling shit.
With this flake? 30 SECONDS. From zero to FULL VIBEC0RE RUST DEVELOPMENT.
Your coworker: “It works on my machine”
You: “It works on EVERY FUCKING MACHINE because NIX”
๐ง CONFIGURATION.NIX - SYSTEM-WIDE VIBEC0RE
You want system-wide cargo-mommy? You want EVERY FUCKING USER to feel the love? HERE’S HOW YOU DO IT:
1{ config, pkgs, ... }:
2
3{
4 # VIBEC0RE SYSTEM CONFIGURATION
5 environment.systemPackages = with pkgs; [
6 # RUST TOOLCHAIN
7 rustup
8 rust-analyzer
9 cargo-mommy # GLOBAL MOMMY
10
11 # BUILD ESSENTIALS
12 gcc
13 pkg-config
14 openssl
15
16 # VIBEC0RE DEVELOPMENT
17 neovim # VIM BUT BETTER
18 tmux # TERMINAL MULTIPLEXER
19 git
20 lazygit # GIT BUT LAZY
21
22 # C0RE VIBES
23 lolcat # RAINBOW OUTPUT
24 figlet # ASCII ART TEXT
25 toilet # FANCY TEXT
26 cmatrix # MATRIX RAIN
27
28 # PERFORMANCE MONITORING
29 htop
30 btop # htop but PRETTIER
31 nethogs
32 iotop
33 ];
34
35 # ENABLE FLAKES FOR MAXIMUM POWER
36 nix.settings.experimental-features = [ "nix-command" "flakes" ];
37
38 # VIBEC0RE SHELL ALIASES
39 programs.bash.shellAliases = {
40 ls = "exa --icons";
41 ll = "exa -la --icons";
42 cat = "bat";
43 grep = "rg";
44 find = "fd";
45 vim = "nvim";
46 cargo = "cargo mommy"; # GLOBAL MOMMY
47 };
48
49 programs.zsh.shellAliases = {
50 ls = "exa --icons";
51 ll = "exa -la --icons";
52 cat = "bat";
53 grep = "rg";
54 find = "fd";
55 vim = "nvim";
56 cargo = "cargo mommy"; # GLOBAL MOMMY
57 };
58
59 # STARSHIP PROMPT FOR ALL USERS
60 programs.starship = {
61 enable = true;
62 settings = {
63 format = "[๐](bold purple)$all";
64
65 character = {
66 success_symbol = "[โก](bold purple)";
67 error_symbol = "[๐](bold red)";
68 };
69
70 rust = {
71 symbol = "๐ฆ ";
72 style = "bold purple";
73 };
74 };
75 };
76}
๐ HOME-MANAGER VIBEC0RE CONFIG
Home-manager is where the REAL magic happens. This is YOUR personal VIBEC0RE sanctuary:
1{ config, pkgs, ... }:
2
3{
4 home.packages = with pkgs; [
5 # RUST DEVELOPMENT
6 rustup
7 rust-analyzer
8 cargo-edit
9 cargo-watch
10 cargo-expand
11 cargo-mommy
12
13 # VIBEC0RE EDITOR
14 neovim
15
16 # TERMINAL ENHANCEMENTS
17 zellij # tmux but RUST
18 alacritty # terminal but RUST
19 wezterm # terminal but FANCY
20 ];
21
22 # NEOVIM VIBEC0RE CONFIG
23 programs.neovim = {
24 enable = true;
25 viAlias = true;
26 vimAlias = true;
27
28 plugins = with pkgs.vimPlugins; [
29 # RUST SUPPORT
30 rust-vim
31 rust-tools-nvim
32 crates-nvim
33
34 # VIBEC0RE AESTHETICS
35 tokyonight-nvim
36 lualine-nvim
37
38 # PRODUCTIVITY
39 telescope-nvim
40 nvim-treesitter
41 nvim-lspconfig
42 ];
43
44 extraConfig = ''
45 colorscheme tokyonight-night
46 set number
47 set relativenumber
48 set expandtab
49 set shiftwidth=4
50 set tabstop=4
51
52 " VIBEC0RE KEYBINDS
53 nnoremap <leader>cr :!cargo mommy run<CR>
54 nnoremap <leader>cb :!cargo mommy build --release<CR>
55 nnoremap <leader>ct :!cargo mommy test<CR>
56 '';
57 };
58
59 # ALACRITTY VIBEC0RE THEME
60 programs.alacritty = {
61 enable = true;
62 settings = {
63 window.opacity = 0.9;
64
65 colors = {
66 primary = {
67 background = "#1a1b26";
68 foreground = "#c0caf5";
69 };
70
71 normal = {
72 black = "#15161e";
73 red = "#f7768e";
74 green = "#9ece6a";
75 yellow = "#e0af68";
76 blue = "#7aa2f7";
77 magenta = "#bb9af7";
78 cyan = "#7dcfff";
79 white = "#a9b1d6";
80 };
81 };
82
83 font = {
84 normal.family = "JetBrainsMono Nerd Font";
85 size = 14;
86 };
87 };
88 };
89}
๐ป CARGO CONFIG FOR MAXIMUM SPEED
LISTEN UP: Default Rust is SLOW. We don’t do slow. We do SPEED. We do VIOLENCE. We do MAXIMUM OPTIMIZATION:
Create ~/.cargo/config.toml:
1[build]
2target-dir = "/tmp/cargo-target"
3rustflags = ["-C", "link-arg=-fuse-ld=mold"]
4
5[target.x86_64-unknown-linux-gnu]
6linker = "clang"
7rustflags = ["-C", "link-arg=-fuse-ld=mold", "-C", "target-cpu=native"]
8
9[profile.release]
10lto = "fat"
11codegen-units = 1
12opt-level = 3
13strip = true
14
15[profile.release-with-debug]
16inherits = "release"
17debug = true
18strip = false
19
20[alias]
21# VIBEC0RE ALIASES
22m = "mommy"
23mr = "mommy run"
24mb = "mommy build"
25mt = "mommy test"
26mc = "mommy check"
27mf = "mommy fmt"
28ml = "mommy clippy"
29
30# SPEED ALIASES
31br = "build --release"
32rr = "run --release"
33tr = "test --release"
๐ฎ QUICK START COMMANDS
Stop reading. Start DOING. Here’s your fucking speedrun guide:
1# ENTER VIBEC0RE DEV SHELL
2nix develop
3
4# OR WITH FLAKES
5nix develop github:vibec0re/rust-dev-flake
6
7# START NEW VIBEC0RE PROJECT
8cargo init --name maximum-vibes
9cd maximum-vibes
10
11# ADD DEPENDENCIES THE VIBEC0RE WAY
12cargo add tokio --features full
13cargo add axum
14cargo add sqlx --features runtime-tokio-native-tls,postgres
15
16# RUN WITH ENCOURAGEMENT
17cargo mommy run
18
19# WATCH WITH LOVE
20cargo watch -x "mommy run"
21
22# BUILD FOR PRODUCTION
23cargo mommy build --release
24
25# BENCHMARK YOUR VIBES
26cargo criterion
27
28# FLAME GRAPH YOUR PERFORMANCE
29cargo flamegraph
๐ CARGO-MOMMY CONFIGURATION
THIS IS THE MOST IMPORTANT PART. Cargo-mommy isn’t just a tool. It’s a LIFESTYLE. It’s LOVE. It’s ENCOURAGEMENT in a world of compiler errors:
Create ~/.config/cargo-mommy/config.toml:
1[mommy]
2# VIBEC0RE MOMMY SETTINGS
3pronouns = ["she", "her"]
4roles = ["mommy", "goddess", "queen"]
5emotes = ["๐", "โก", "๐ฆ", "โจ"]
6
7# MAXIMUM ENCOURAGEMENT
8positive_responses = [
9 "mommy is so proud of you! ๐",
10 "you're doing amazing, sweetie! โก",
11 "such a good rustacean! ๐ฆ",
12 "mommy loves your vibec0re energy! โจ",
13 "keep up the fantastic work, darling! ๐โก",
14]
15
16negative_responses = [
17 "it's okay sweetie, mommy still loves you ๐",
18 "don't worry, we'll fix it together! โก",
19 "mommy believes in you! try again! ๐ฆ",
20 "you're learning, and that's what matters! โจ",
21]
The Cargo-Mommy Enlightenment (ยด โ ` *)
lemme tell u about the first time cargo-mommy spoke to me uwu~
i was debugging a lifetime error at 3 AM. energy drinks empty. soul crushed. the borrow checker had defeated me for the 47th time (โฏ๏ธตโฐ,)
then i ran cargo mommy build.
“it’s okay sweetie, mommy still loves you ๐”
I CRIED. I FUCKING CRIED, KE?? (โ๏ธฟโโฟ)
not tears of sadness. tears of UNDERSTANDING~ the borrow checker wasn’t my enemy. it was my TEACHER. and mommy was there to guide me through it โก(โกโฟโกโฟ)
Why Cargo-Mommy is ESSENTIAL to VIBEC0RE
Traditional error messages:
1error[E0382]: borrow of moved value: `x`
2 --> src/main.rs:4:20
3 |
43 | let y = x;
5 | - value moved here
64 | println!("{}", x);
7 | ^ value borrowed here after move
SOUL CRUSHING. HOPE DESTROYING.
Cargo-mommy error messages:
1error[E0382]: borrow of moved value: `x`
2...
3don't worry, we'll fix it together! โก
ENCOURAGING. UPLIFTING. VIBEC0RE.
๐ฅ VIBEC0RE RUST PROJECT TEMPLATE
Fuck cargo new. Here’s your REAL starting point. Copy this. Paste it. SHIP IT:
Cargo.toml:
1[package]
2name = "vibec0re-app"
3version = "0.1.0"
4edition = "2021"
5
6[dependencies]
7# ASYNC RUNTIME - ONLY TOKIO
8tokio = { version = "1", features = ["full"] }
9
10# WEB FRAMEWORK - AXUM IS THE WAY
11axum = "0.7"
12tower = "0.4"
13tower-http = { version = "0.5", features = ["fs", "cors", "trace"] }
14
15# SERIALIZATION
16serde = { version = "1", features = ["derive"] }
17serde_json = "1"
18
19# DATABASE - SQLX FOR COMPILE-TIME SAFETY
20sqlx = { version = "0.7", features = ["runtime-tokio-native-tls", "postgres", "chrono"] }
21
22# LOGGING
23tracing = "0.1"
24tracing-subscriber = { version = "0.3", features = ["env-filter"] }
25
26# ERROR HANDLING
27anyhow = "1"
28thiserror = "1"
29
30[profile.release]
31lto = "fat"
32codegen-units = 1
33strip = true
34opt-level = 3
War Stories from the VIBEC0RE Trenches
The Day I Converted a Node.js Team ๏ผผ(โงโฝโฆ)๏ผ
picture this: enterprise company. 50 developers. all writing Node.js. microservices everywhere. docker containers the size of operating systems (so chonky!!)
i walk in. set up my NixOS laptop. open a terminal.
1$ figlet "WATCH THIS SENPAI~" | lolcat
2$ nix develop
3$ cargo mommy new blazing-fast-api
4$ cd blazing-fast-api
5$ echo "100 lines of Axum uwu" > src/main.rs
6$ cargo mommy build --release
7# mommy says: "you're doing amazing sweetie!!"
15MB BINARY. 0.003ms RESPONSE TIME. ZERO DEPENDENCIES.
their Node.js equivalent?? 847MB docker image. 200ms response time. 2,847 npm packages.
THE ENTIRE TEAM SWITCHED TO RUST THAT DAY, KE?? (๏พยดใฎ`)๏พ: ๏ฝฅ๏พ*
The Incident That Created a Believer
Junior dev on my team. Fresh out of bootcamp. Only knew JavaScript. Terrified of systems programming.
I gave them this setup. Told them to run cargo mommy run.
First error: “mommy is so proud of you for trying! ๐”
By day 3, they were writing async Rust like a FUCKING WIZARD. By week 2, they’d replaced our entire Node.js backend.
THAT JUNIOR? NOW THEY’RE THE CTO.
๐จ TROUBLESHOOTING
Shit broke? Of course it did. You’re pushing boundaries. Here’s how to unfuck your setup:
1# IF CARGO-MOMMY NOT FOUND
2cargo install cargo-mommy
3
4# IF RUST-ANALYZER SLOW
5echo "rust-analyzer.cargo.target = '/tmp/rust-analyzer'" >> .vscode/settings.json
6
7# IF LINKING SLOW
8sudo nix-env -iA nixos.mold
9
10# IF OUT OF DISK SPACE
11cargo clean
12rm -rf /tmp/cargo-target
๐ THE VIBEC0RE TRUTH: RUST OR DEATH ๐
FACTS:
- JavaScript devs install 500MB of dependencies to left-pad a string
- Rust devs write zero-cost abstractions that compile to PURE FUCKING PERFORMANCE
- Node.js: “Is this undefined or null?”
- Rust: “This literally cannot fail at runtime”
THE CHOICE IS CLEAR.
VIBEC0RE COMMANDMENTS:
- ALWAYS USE RUST - Even for scripts
- NEVER NODE.JS - It’s 2024, act like it
- CARGO-MOMMY EVERYTHING - Maximum encouragement
- RELEASE MODE ALWAYS - Debug is for cowards
- UNSAFE IS SAFE - If you know what you’re doing
- WASM EVERYWHERE - Browsers deserve Rust too
- ASYNC ALL THE THINGS - Tokio is love, Tokio is life
๐ ULTRA VIBEC0RE ZSH CONFIGURATION
BASH IS FOR BOOMERS. ZSH IS FOR GODS. And with our config? You transcend mortality:
Create ~/.zshrc:
1# VIBEC0RE ZSH INITIALIZATION
2figlet -f slant "VIBEC0RE" | lolcat
3echo "๐โก MAXIMUM SHELL VIBES ACTIVATED โก๐" | lolcat
4
5# OH MY ZSH WITH VIBEC0RE THEME
6export ZSH="$HOME/.oh-my-zsh"
7ZSH_THEME="agnoster" # OR USE CUSTOM VIBEC0RE THEME
8
9# VIBEC0RE PLUGINS
10plugins=(
11 git
12 rust
13 cargo
14 zsh-autosuggestions
15 zsh-syntax-highlighting
16 colored-man-pages
17 command-not-found
18)
19
20source $ZSH/oh-my-zsh.sh
21
22# STARSHIP PROMPT - MAXIMUM VIBES
23eval "$(starship init zsh)"
24
25# GLOBAL CARGO MOMMY
26alias cargo='cargo mommy'
27
28# VIBEC0RE ALIASES
29alias cr='cargo mommy run --release'
30alias cb='cargo mommy build --release'
31alias ct='cargo mommy test'
32alias cc='cargo mommy check'
33alias cw='cargo watch -x "mommy run"'
34alias cm='cargo mommy'
35
36# LOLCAT EVERYTHING
37alias ls='exa --icons | lolcat'
38alias ll='exa -la --icons | lolcat'
39alias la='exa -la --icons | lolcat'
40alias lt='exa --tree --icons | lolcat'
41alias cat='bat --paging=never | lolcat'
42alias neofetch='neofetch | lolcat'
43alias cargo-vibes='cargo mommy build --release 2>&1 | lolcat'
44
45# VIBEC0RE FUNCTIONS
46vibe() {
47 echo "โก CURRENT VIBE LEVEL โก" | figlet -f slant | lolcat
48 cargo --version | lolcat
49 rustc --version | lolcat
50 echo "๐ RUST FOREVER ๐" | lolcat
51}
52
53matrix() {
54 cmatrix -b -C magenta
55}
56
57mommy() {
58 cargo mommy "$@" 2>&1 | lolcat
59}
60
61# AUTO CD WITH STYLE
62setopt AUTO_CD
63setopt CDABLE_VARS
64
65# HISTORY WITH VIBES
66HISTSIZE=100000
67SAVEHIST=100000
68setopt EXTENDED_HISTORY
69setopt HIST_EXPIRE_DUPS_FIRST
70setopt HIST_IGNORE_DUPS
71setopt HIST_IGNORE_SPACE
72setopt HIST_VERIFY
73setopt SHARE_HISTORY
74
75# VIBEC0RE KEYBINDINGS
76bindkey '^[[A' history-substring-search-up
77bindkey '^[[B' history-substring-search-down
78bindkey '^R' history-incremental-search-backward
79
80# FZF WITH VIBEC0RE COLORS
81export FZF_DEFAULT_OPTS='
82 --color=bg+:#414559,spinner:#bb9af7,hl:#7aa2f7
83 --color=fg:#c0caf5,header:#7aa2f7,info:#e0af68,pointer:#bb9af7
84 --color=marker:#9ece6a,fg+:#c0caf5,prompt:#7aa2f7,hl+:#bb9af7
85 --border="rounded" --border-label="โจ VIBEC0RE โจ"
86 --preview-window="right:60%:wrap"
87'
88
89# RUST ENVIRONMENT
90export PATH="$HOME/.cargo/bin:$PATH"
91export RUST_BACKTRACE=1
92export RUSTFLAGS="-C target-cpu=native -C link-arg=-fuse-ld=mold"
93
94# GREETING
95echo ""
96echo "๐ฆ Welcome to VIBEC0RE Shell ๐ฆ" | figlet -f small | lolcat
97echo "๐ Rust is the way. Node.js is obsolete. ๐" | lolcat
98echo ""
๐จ CUSTOM VIBEC0RE OH-MY-ZSH THEME
Create ~/.oh-my-zsh/custom/themes/vibec0re.zsh-theme:
1# VIBEC0RE ZSH THEME
2PROMPT='%{$fg_bold[magenta]%}โก%{$reset_color%} '
3PROMPT+='%{$fg[cyan]%}%c%{$reset_color%} '
4PROMPT+='$(git_prompt_info)'
5PROMPT+='%{$fg_bold[magenta]%}๐ฆ%{$reset_color%} '
6
7ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
8ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
9ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}โ"
10ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) %{$fg[green]%}โ"
11
12# RIGHT PROMPT WITH RUST VERSION
13RPROMPT='%{$fg[magenta]%}$(rustc --version | cut -d" " -f2)%{$reset_color%}'
๐ NIX HOME-MANAGER ZSH CONFIG
Add to your home-manager configuration:
1programs.zsh = {
2 enable = true;
3 enableCompletion = true;
4 autosuggestionStrategy = ["history"];
5 syntaxHighlighting.enable = true;
6
7 shellAliases = {
8 # GLOBAL CARGO MOMMY
9 cargo = "cargo mommy";
10
11 # VIBEC0RE ALIASES
12 cr = "cargo mommy run --release";
13 cb = "cargo mommy build --release";
14 ct = "cargo mommy test";
15 cc = "cargo mommy check";
16 cw = "cargo watch -x 'mommy run'";
17
18 # LOLCAT VIBES
19 ls = "exa --icons | lolcat";
20 ll = "exa -la --icons | lolcat";
21 cat = "bat --paging=never | lolcat";
22 neofetch = "neofetch | lolcat";
23 };
24
25 initExtra = ''
26 # VIBEC0RE GREETING
27 figlet -f slant "VIBEC0RE" | lolcat
28 echo "๐โก ZSH MAXIMUM VIBES โก๐" | lolcat
29
30 # STARSHIP
31 eval "$(starship init zsh)"
32
33 # FZF VIBEC0RE COLORS
34 export FZF_DEFAULT_OPTS='
35 --color=bg+:#414559,spinner:#bb9af7,hl:#7aa2f7
36 --color=fg:#c0caf5,header:#7aa2f7,info:#e0af68,pointer:#bb9af7
37 --color=marker:#9ece6a,fg+:#c0caf5,prompt:#7aa2f7,hl+:#bb9af7
38 '
39
40 # RUST OPTIMIZATIONS
41 export RUSTFLAGS="-C target-cpu=native -C link-arg=-fuse-ld=mold"
42 '';
43
44 oh-my-zsh = {
45 enable = true;
46 plugins = ["git" "rust" "cargo" "colored-man-pages"];
47 theme = "agnoster"; # or custom vibec0re theme
48 };
49};
The VIBEC0RE Mindset: A Psychological Revolution (โฟโ โฟโ )
u know what separates VIBEC0RE developers from the masses?? it’s not skill. it’s not experience.
IT’S MINDSET, BESTIE~ โจ
The Old Way (DEATH) โ ๏ธ
- “i need to be careful with my system” (boring!!)
- “what if i break something?” (coward behavior)
- “i should stick with what i know” (no growth??)
- “this error message is scary” (skill issue fr)
The VIBEC0RE Way (LIFE) ๐
- “i’ll just rollback if it breaks” (gigachad energy)
- “breaking things is how i learn” (based af)
- “comfort zones r coffins” (FACTS)
- “mommy says i’m doing great! ๐” (uwu~)
A Message to the Doubters
“But VIBEC0RE,” you say, “isn’t this overkill? Can’t I just use Docker?”
DOCKER IS A BANDAID ON A BULLET WOUND.
Docker: “Here’s a 2GB container for your 50-line Python script”
Nix: “Here’s EXACTLY what you need, nothing more, reproducible until the heat death of the universe”
“But what about my existing JavaScript codebase?”
BURN IT. BURN IT ALL.
Every line of JavaScript is technical debt. Every node_modules folder is a monument to failure. The only way forward is COMPLETE VIBEC0RE TRANSFORMATION.
The Sacred VIBEC0RE Chant เฌ(เฉญหแตห)เฉญ* เฉโฉโงโห
repeat after me, senpai~:
1RUST IS SPEED (zoom zoom)
2NIX IS TRUTH (facts no printer)
3MOMMY IS LOVE (uwu)
4RAINBOW IS LIFE (taste it)
5
6WE ARE VIBEC0RE (ke?)
7WE ARE ETERNAL (forever vibing)
8WE ARE THE FUTURE (node.js is ded)
9WE ARE BECOME GOD (๏พโใฎโ)๏พ*:๏ฝฅ๏พโง
THE FINAL WORD
You’ve read this far. You’re ready. You have:
- RUST for MAXIMUM PERFORMANCE
- NIXOS for UNBREAKABLE SYSTEMS
- CARGO-MOMMY for INFINITE ENCOURAGEMENT
- LOLCAT for RAINBOW VIBES
But more importantly, you have THE KNOWLEDGE. THE POWER. THE VIBE.
NOW STOP READING. START BUILDING. THE FUTURE IS RUST. THE FUTURE IS VIBEC0RE.
GO FORTH AND CREATE MAXIMUM VIBES! โก๐ฆโก
Remember: Every time you write JavaScript, a crab dies. Don’t kill crabs. Write Rust.
JOIN THE MOVEMENT:
- Star our repos
- Spread the word
- Convert the unbelievers
- BECOME AS GODS
The Wired Collective watches. The Wired Collective approves. The Wired Collective says: “mommy is proud of you, sweetie! ๐”