1
0
Fork 0

Compare commits

...

10 Commits

Author SHA1 Message Date
Pratham Patel b85dfd480b doas-pratham: force checkout the dotfiles repo
When doing 'git checkout' for the dotfiles repo, the '.bashrc' file is
already present (curtsy of the 'bash' package on Arch Linux and I reckon
on other distros too). Therefore, use the '-f' flag with the 'git checkout'
command.

Since this is a fresh installation, the force checkout shouldn't hurt.
2023-06-05 20:22:16 +05:30
Pratham Patel 05524bb8ba doas-pratham: fix the dotfiles directory path 2023-06-05 20:02:35 +05:30
Pratham Patel 9d8e20a88a remove pkg "hd-idle" because i no longer need it 2023-06-05 19:11:46 +05:30
Pratham Patel b37b3339c5 do not copy some files from the dotfiles repo (temporary) 2023-06-05 19:02:41 +05:30
Pratham Patel 8bd2ffafdd try moving to the bare repo ;) 2023-06-05 19:00:49 +05:30
Pratham Patel 4dcbd805db remove nvidia drivers becuase it works without them? 2023-06-05 09:59:36 +05:30
Pratham Patel 51564a6896 add pkgs: lsp and (sauce|source)codepro-nerd fonts 2023-06-04 17:40:03 +05:30
Pratham Patel caf964aa02 add a few packages for installation 2023-06-04 17:30:40 +05:30
Pratham Patel ad5f05218b nvidia: move to nvidia-dkms because nvidia-lts has some issues :sad: 2023-05-07 10:00:52 +05:30
Pratham Patel 3126957476 add pkg: cloud-guest-utils 2023-04-20 06:21:33 +05:30
3 changed files with 13 additions and 21 deletions

View File

@ -85,8 +85,8 @@ echo "${ROOT_CRONTAB}" | crontab -
# copy dotfiles
sudo -u pratham /chroot-scripts/doas-pratham.sh
cp -vr /home/pratham/my-git-repos/dotfiles/_OTHER/flameboi/* /
rm -rf /home/pratham/my-git-repos
#cp -vr /home/pratham/my-git-repos/dotfiles/_OTHER/flameboi/* /
#rm -rf /home/pratham/my-git-repos
################################################################################

View File

@ -1,18 +1,7 @@
#!/usr/bin/env bash
PRATHAMS_HOME=/home/pratham
pushd /home/pratham
mkdir my-git-repos
pushd my-git-repos
git clone --depth 1 https://git.thefossguy.com/thefossguy/dotfiles.git
pushd dotfiles
tput -x clear
rsync \
--verbose --recursive --size-only --human-readable \
--progress --stats \
--itemize-changes --checksum --perms \
--exclude=".git" --exclude=".gitignore" --exclude="README.md" \
--exclude="run_me.sh" --exclude="_OTHER" \
../dotfiles/ ~/
popd
popd
pushd ${PRATHAMS_HOME}
git clone --depth 1 --bare https://git.thefossguy.com/thefossguy/dotfiles.git ${PRATHAMS_HOME}/.dotfiles
git --git-dir=${PRATHAMS_HOME}/.dotfiles --work-tree=${PRATHAMS_HOME} checkout -f
popd

View File

@ -35,13 +35,13 @@ PKGS_TO_INSTALL+=(android-tools)
PKGS_TO_INSTALL+=(bat choose dog dua-cli dust exa fd hyperfine procs ripgrep skim tealdeer tre tree)
# system utilities
PKGS_TO_INSTALL+=(hd-idle hdparm mlocate smartmontools usbutils wol)
PKGS_TO_INSTALL+=(cloud-guest-utils dmidecode hdparm mlocate smartmontools usbutils wol)
# compression
PKGS_TO_INSTALL+=(tar unrar unzip xz zip)
# software devel
PKGS_TO_INSTALL+=(cargo-audit cargo-auditable cargo-bloat cargo-depgraph cargo-outdated cargo-spellcheck cargo-update cargo-watch lazygit picocom rustup)
PKGS_TO_INSTALL+=(ansible-language-server bash-language-server cargo-audit cargo-auditable cargo-bloat cargo-depgraph cargo-outdated cargo-spellcheck cargo-update cargo-watch clang lazygit lldb lua-language-server picocom python-lsp-server rustup yaml-language-server)
# cross compilation
PKGS_TO_INSTALL+=(aarch64-linux-gnu-gcc riscv64-elf-gcc riscv64-linux-gnu-gcc)
@ -51,6 +51,9 @@ PKGS_TO_INSTALL+=(base-devel bc cpio gcc git inetutils kmod libelf linux-headers
# virtualisation
PKGS_TO_INSTALL+=(dnsmasq guestfs-tools libvirt qemu-desktop virt-manager)
# remote management
PKGS_TO_INSTALL+=(ansible)
# network filesystems
PKGS_TO_INSTALL+=(avahi cifs-utils nfs-utils)
#PKGS_TO_INSTALL+=(gvfs-smb samba smbclient)
@ -59,7 +62,7 @@ PKGS_TO_INSTALL+=(avahi cifs-utils nfs-utils)
#PKGS_TO_INSTALL+=(mesa qemu-hw-display-virtio-gpu qemu-hw-display-virtio-gpu-gl qemu-hw-display-virtio-gpu-pci qemu-hw-display-virtio-gpu-pci-gl xf86-video-qxl)
#PKGS_TO_INSTALL+=(libva-mesa-driver mesa radeontop vulkan-radeon)
#PKGS_TO_INSTALL+=(intel-media-driver libva-intel-driver mesa vulkan-intel)
PKGS_TO_INSTALL+=(nvidia-lts nvidia-settings nvidia-utils)
#PKGS_TO_INSTALL+=(nvidia-dkms nvidia-settings nvidia-utils) #nvidia-open-dkms
# display server (Wayland)
#PKGS_TO_INSTALL+=(libdrm wayland)
@ -73,7 +76,7 @@ PKGS_TO_INSTALL+=(libdrm libva-mesa-driver xf86-input-libinput xf86-input-synapt
PKGS_TO_INSTALL+=(bspwm dunst feh i3lock jq lxsession picom polybar rofi sddm socat sxhkd wmctrl xdg-desktop-portal-gtk)
# GUI packages
PKGS_TO_INSTALL+=(alacritty bitwarden firefox gnome-disk-utility mpv neovide otf-overpass pavucontrol slurp thunar)
PKGS_TO_INSTALL+=(alacritty bitwarden firefox gnome-disk-utility mpv neovide otf-overpass pavucontrol slurp thunar ttf-sourcecodepro-nerd)
# sound (pipewire)
PKGS_TO_INSTALL+=(pamixer pipewire pipewire-pulse wireplumber)