mirror of
https://github.com/morten-olsen/nixos-config.git
synced 2026-02-08 00:36:27 +01:00
flake.lock: Update
Flake lock file updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/b00d0e4fe9cba0047f54e77418ddda5f17e6ef2c?narHash=sha256-NrVLXkpT9ZigiI8md6NIzHS%2B3lE4QTj30IgXG57O9iM%3D' (2024-04-09)
→ 'github:nix-community/home-manager/8fdf329526f06886b53b94ddf433848a0d142984?narHash=sha256-jzTo97VeKMNfnKw3xU%2BuiU5C7wtnLudsbwl/nwPLC7s%3D' (2024-04-13)
• Updated input 'nixos-hardware':
'github:NixOS/nixos-hardware/05aa46a1f3b5ac92bfe84807868ba9670d48b031?narHash=sha256-rXb3onsPMiv00FrGSpIJyYa8x53W0dlbJ5Ka3xvje/c%3D' (2024-04-09)
→ 'github:NixOS/nixos-hardware/f58b25254be441cd2a9b4b444ed83f1e51244f1f?narHash=sha256-7/5ubuwdEbQ7Z%2BVqd4u0mM5L2VMNDsBh54visp27CtQ%3D' (2024-04-12)
• Updated input 'nixpkgs':
'github:NixOS/nixpkgs/4cba8b53da471aea2ab2b0c1f30a81e7c451f4b6?narHash=sha256-vMZ5603yU0wxgyQeHJryOI%2BO61yrX2AHwY6LOFyV1gM%3D' (2024-04-08)
→ 'github:NixOS/nixpkgs/1042fd8b148a9105f3c0aca3a6177fd1d9360ba5?narHash=sha256-3sbWO1mbpWsLepZGbWaMovSO7ndZeFqDSdX0hZ9nVyw%3D' (2024-04-10)
• Updated input 'nur':
'github:nix-community/NUR/ee4ce451f46a08778d1a9f9837eff0750714b08b?narHash=sha256-q3Tx4kS%2BnH4IDcEsZSv8o2IuCn475mGhCYBXxfxZ2gY%3D' (2024-04-09)
→ 'github:nix-community/NUR/80d50c92b9d514cb18ce828d4c3e4239177728af?narHash=sha256-YCV0tgYG/s6Lq28iksdk4LyDF45UShxuCXf0yuiFSBc%3D' (2024-04-13)
This commit is contained in:
7
user/programs/terminal/files/shell/rc.d/01-load-env.sh
Normal file
7
user/programs/terminal/files/shell/rc.d/01-load-env.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
if [ -f $HOME/.systemrc ]; then
|
||||
source $HOME/.systemrc
|
||||
fi
|
||||
|
||||
if [ -f $HOME/.env ]; then
|
||||
source $HOME/.env
|
||||
fi
|
||||
@@ -28,7 +28,7 @@ command -v xsel > /dev/null || alias copy='xsel -ib'
|
||||
command -v urxvt > /dev/null || alias n="setsid urxvt &>/dev/null"
|
||||
|
||||
alias sc="sudo systemctl"
|
||||
alias usermount="sudo mount -o gid=users,fmask=113,dmask=002"
|
||||
alias usermount="sudo mount -o gid=users,fmask=113,dmask=002,nolock"
|
||||
alias fzf="fzf --preview 'bat {} --line-range 0:100 --color always'"
|
||||
alias stmux="tmux a -t base || tmux new -s base"
|
||||
|
||||
|
||||
1
user/programs/terminal/files/shell/rc.d/10-atuin.bash
Normal file
1
user/programs/terminal/files/shell/rc.d/10-atuin.bash
Normal file
@@ -0,0 +1 @@
|
||||
eval "$(atuin init bash)"
|
||||
@@ -1,5 +0,0 @@
|
||||
if [ -d "$HOME/.bun" ]; then
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
fi
|
||||
|
||||
40
user/programs/terminal/files/shell/rc.d/10-logo.sh
Normal file
40
user/programs/terminal/files/shell/rc.d/10-logo.sh
Normal file
@@ -0,0 +1,40 @@
|
||||
if [ `tput cols` -gt "70" ]; then
|
||||
function PRINT_CENTER {
|
||||
COLS=`tput cols`
|
||||
OFFSET=$(( ($COLS - $1) / 2 ))
|
||||
PRE=""
|
||||
for i in `seq $OFFSET`; do
|
||||
PRE="$PRE "
|
||||
done
|
||||
while IFS= read -r line; do
|
||||
echo "$PRE$line"
|
||||
done <<< "$2"
|
||||
}
|
||||
PRINT_CENTER 60 "
|
||||
|
||||
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
|
||||
█░▄▄▀█▀▄▄▀█░▄▄░█▄░▄█▀▄▀██░▄░██░██░█░▄▄█░▄▄░█
|
||||
█░▀▀▄█░██░█░▀▄░██░██░█▀█░▀▀░▀█░██░█▄▄▀███▄██
|
||||
█▄█▄▄██▄▄██░▀▀░██▄███▄█████░███▄▄▄█▄▄▄█░▀▀░█
|
||||
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
|
||||
|
||||
⣴⣶⣤⡤⠦⣤⣀⣤⠆ ⣈⣭⣿⣶⣿⣦⣼⣆
|
||||
⠉⠻⢿⣿⠿⣿⣿⣶⣦⠤⠄⡠⢾⣿⣿⡿⠋⠉⠉⠻⣿⣿⡛⣦
|
||||
⠈⢿⣿⣟⠦ ⣾⣿⣿⣷ ⠻⠿⢿⣿⣧⣄
|
||||
⣸⣿⣿⢧ ⢻⠻⣿⣿⣷⣄⣀⠄⠢⣀⡀⠈⠙⠿⠄
|
||||
⢠⣿⣿⣿⠈ ⣻⣿⣿⣿⣿⣿⣿⣿⣛⣳⣤⣀⣀
|
||||
⢠⣧⣶⣥⡤⢄ ⣸⣿⣿⠘ ⢀⣴⣿⣿⡿⠛⣿⣿⣧⠈⢿⠿⠟⠛⠻⠿⠄
|
||||
⣰⣿⣿⠛⠻⣿⣿⡦⢹⣿⣷ ⢊⣿⣿⡏ ⢸⣿⣿⡇ ⢀⣠⣄⣾⠄
|
||||
⣠⣿⠿⠛ ⢀⣿⣿⣷⠘⢿⣿⣦⡀ ⢸⢿⣿⣿⣄ ⣸⣿⣿⡇⣪⣿⡿⠿⣿⣷⡄
|
||||
⠙⠃ ⣼⣿⡟ ⠈⠻⣿⣿⣦⣌⡇⠻⣿⣿⣷⣿⣿⣿ ⣿⣿⡇ ⠛⠻⢷⣄
|
||||
⢻⣿⣿⣄ ⠈⠻⣿⣿⣿⣷⣿⣿⣿⣿⣿⡟ ⠫⢿⣿⡆
|
||||
⠻⣿⣿⣿⣿⣶⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⡟⢀⣀⣤⣾⡿⠃
|
||||
▄▄▄ . ▌ ▐·▪ ▄▄▌ ▄▄▌ ▐ ▄▌▪ ▄▄▄▄▄ ▄ .▄ ▄• ▄▌▄▄▄▄▄
|
||||
▀▄.▀·▪█·█▌██ ██• ██· █▌▐███ •██ ██▪▐█ ▄█▀▄ █▪██▌•██
|
||||
▐▀▀▪▄▐█▐█•▐█·██ ▪ ██▪▐█▐▐▌▐█· ▐█.▪██▀▀█▐█▌.▐▌█▌▐█▌ ▐█.▪
|
||||
▐█▄▄▌ ███ ▐█▌▐█▌ ▄ ▐█▌██▐█▌▐█▌ ▐█▌·██▌▐▀▐█▌.▐▌▐█▄█▌ ▐█▌·
|
||||
▀▀▀ . ▀ ▀▀▀.▀▀▀ ▀▀▀▀ ▀▪▀▀▀ ▀▀▀ ▀▀▀ · ▀█▄▀▪ ▀▀▀ ▀▀▀
|
||||
|
||||
> welcome x_x
|
||||
"
|
||||
fi
|
||||
1
user/programs/terminal/files/shell/rc.d/10-starship.bash
Normal file
1
user/programs/terminal/files/shell/rc.d/10-starship.bash
Normal file
@@ -0,0 +1 @@
|
||||
eval "$(starship init bash)"
|
||||
Reference in New Issue
Block a user