My Nix Infra
nix nixos
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

more pkgs, podman, lazyvim

+43 -8
+1 -1
abbr.fish
··· 26 26 # git shortcuts 27 27 abbr -a gs "git status" 28 28 abbr -a ga "git add" 29 - abbr -a gc "git commit" 29 + abbr -a gc "git commit -m" 30 30 abbr -a gb "git branch" 31 31 abbr -a gd "git diff" 32 32 abbr -a gcl "git clone"
+1 -1
config/fish/abbr.fish
··· 26 26 # git shortcuts 27 27 abbr -a gs "git status" 28 28 abbr -a ga "git add" 29 - abbr -a gc "git commit" 29 + abbr -a gc "git commit -m" 30 30 abbr -a gb "git branch" 31 31 abbr -a gd "git diff" 32 32 abbr -a gcl "git clone"
+18 -6
install/2-pkgs.sh
··· 9 9 pkgs=( 10 10 # kde plasma ofc 11 11 plasma 12 + sddm 13 + kimageformats 14 + kwalletmanager 15 + power-profiles-daemon 16 + qt6-imageformats 17 + libappindicator-gtk3 18 + 19 + # arch related 20 + intel-ucode 21 + amd-ucode 22 + reflector 23 + archlinux-contrib 24 + pacman-contrib 12 25 13 26 # common devtools 14 27 bat ··· 25 38 just 26 39 man 27 40 man-db 41 + man-pages 42 + texinfo 28 43 29 44 # network tools 30 45 bind ··· 106 121 curl -fsSL https://get.pnpm.io/install.sh | sh 107 122 fi 108 123 109 - # node 110 - if ! has node; then 111 - source "$HOME"/.bashrc 112 - pnpm env use --global lts 113 - fi 114 - 115 124 # nix 116 125 if ! has nix; then 117 126 curl -L https://nixos.org/nix/install | sh -s -- --no-daemon 118 127 fi 128 + 129 + sudo systemctl enable reflector.timer 130 + sudo systemctl restart reflector.timer
+5
install/dotconfig.sh
··· 21 21 echo 'pnpm completion fish | source' > "$HOME"/.config/fish/completions/pnpm.fish 22 22 echo 'uv generate-shell-completion fish | source' > "$HOME"/.config/fish/completions/uv.fish 23 23 echo 'uvx --generate-shell-completion fish | source' > "$HOME"/.config/fish/completions/uvx.fish 24 + 25 + # LazyVim 26 + if [[ ! -d "$HOME"/.config/nvim ]]; then 27 + git clone https://github.com/LazyVim/starter "$HOME"/.config/nvim 28 + fi
+11
install/mkdirs.sh
··· 6 6 mkdir -p "$HOME"/w 7 7 mkdir -p "$HOME"/p 8 8 mkdir -p "$HOME"/s 9 + 10 + if podman container exists cc-www-mariadb; then 11 + echo "cc-www-mariadb exists" 12 + else 13 + podman run -d \ 14 + --name cc-www-mariadb \ 15 + -p 3306:3306 \ 16 + --env MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=1 \ 17 + --mount type=volume,src=cc-www-db-data,dst=/var/lib/mysql \ 18 + mariadb:latest 19 + fi
+7
setup.sh
··· 10 10 fi 11 11 12 12 for f in "$HOME"/.dotfiles/install/*.sh; do source "$f"; done 13 + 14 + chsh -s $(which fish) 15 + 16 + read -p "reboot? (y/n): " reply 17 + if [[ $reply = "y" ]]; then 18 + reboot 19 + fi