@ajhalili2006's dotfiles in a nutshell, without using home-manager for managing dotfiles.
Find a file
Andrei Jiroh Halili 076ddb88b5
Fix hostname detection on bashrc
Also in this commit, I do "git remote add" to the sourcehut mirror
of my dotfiles if not exists locally

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>
2024-04-13 11:25:23 +00:00
.abuild chore(abuild): update personal configs 2023-12-16 10:53:43 +08:00
.asdf@fce6c534da Update asdf to v0.13.1@fce6c534daf6c0b2eed7dc633b18f7b87f665d2f 2023-10-21 07:07:09 +08:00
.byobu chaotic commit hellscape 2023-08-12 10:56:06 +08:00
.config Fix hostname detection on bashrc 2024-04-13 11:25:23 +00:00
.gnupg General configuration changes hellscape 2023-09-03 22:53:26 +08:00
.local/share chore(yadm): update encrypted archive 2024-01-10 22:01:27 +08:00
.ssh Update configs and add new SSH key on authorized_keys 2023-06-13 11:08:57 +02:00
.trunk feat(bashrc): add global bashrc stuff 2023-01-06 01:22:50 +08:00
.vscode Maintenance work on configs 2023-10-21 07:05:03 +08:00
.yadm-project@0a5e7aa353 chore(deps): add yadm repo and its symlink 2024-01-10 22:06:39 +08:00
bin chore(deps): add yadm repo and its symlink 2024-01-10 22:06:39 +08:00
.bash_login Update shellrc files as well as global git config 2023-10-21 09:11:19 +08:00
.bash_logout chore(global): regular configuration hellscape for now 2023-05-12 18:55:54 +02:00
.bashrc Fix hostname detection on bashrc 2024-04-13 11:25:23 +00:00
.env General configuration changes hellscape 2023-09-03 22:53:26 +08:00
.gitconfig Update email domains for commits 2024-04-13 10:05:15 +00:00
.gitignore chore(global): initial commit 2022-12-25 23:55:37 +08:00
.gitmodules chore(deps): add yadm repo and its symlink 2024-01-10 22:06:39 +08:00
.profile Update shellrc files as well as global git config 2023-10-21 09:11:19 +08:00
.tool-versions Setup global tool versions for asdf 2023-10-16 22:36:47 +08:00
LICENSE docs(license): add license files 2022-12-29 19:51:07 +08:00
LICENSE-MIT docs(license): add license files 2022-12-29 19:51:07 +08:00
LICENSE-MPL-2.0 docs(license): add license files 2022-12-29 19:51:07 +08:00
meta-info.toml Add meta-info.toml from p.projectsegfau.lt to version control 2023-06-13 16:46:37 +02:00
README.md chore(yadm): update README and add post-clone bootstrap script 2023-12-16 10:51:57 +08:00

~ajhalili2006's dotfiles

This is the redesigned dotfiles repo for ~ajhalili2006, because my first repo became a mess so hard to fix it in, built from scratch and based on https://drewdevault.com/2019/12/30/dotfiles.html.

Quick deploy

curl -fsSL https://scripts.andreijiroh.eu.org/dotfiles/setup.sh | bash -

Available Git mirrors

This project is hosted on hosted instance of sourcehut git at the ~ajhalili2006/dotfiles Git repository, alongside the following Git mirrors:

Setup

With yadm

# on a Alpine Linux sandbox VM (or chroot)
apk add yadm git gnupg

yadm clone https://mau.dev/andreijiroh.dev/dotfiles
yadm restore --staged $HOME
yadm checkout -- $HOME

# run the bootstrap script
yadm bootstrap

Without yadm

It's easy, although this will be different because git clone <clone-url-above> will scream some errors when attempt to do so after creating a user with their own home directory.

# go back to your $HOME
cd ~

# init repo, add origin to git.sr.ht repo (have you got your SSH keys?)
git init
git remote add origin git@git.sr.ht:~ajhalili2006/dotfiles-modern

# another route here is cloning the repo before the user creation take place
# so you can skip the "fetch and force checkout hellscape"
git clone git@git.sr.ht:~ajhalili2006/dotfiles-modern /home/ajhalili2006
# ...create user "ajhalili2006" here
chown ajhalili2006:ajhalili2006 -Rv /home/ajhalili2006

# fetch and force checkout, RIP any unstashed hellscapes
git fetch
git checkout -f main

# logout and login again to refresh your shell env

Codespaces + Gitpod specifics

Because this cause confusion to most cloud dev environment services, although they'll symlink stuff when there's no install script, but that is a design flaw to be work around in the future.

License

TL;DR before we dive in to legalese:

  • Everything is licensed under both MIT + MPL 2.0, unless otherwise noted. Most third-party code and submodules used here aren't covered by this policy.
  • Open source !== open contribution. Since this is just a personal project, expect your contributions to be either rewritten or declined.
  • For contributors who wish to send patches, either an agreement to the DCO (via --signoff flag on commits and when sending email patches via ~ajhalili2006/public-inbox@lists.sr.ht) or through signing the project-specific Individual CLA alongside this specific copyright transfer agreement on this project (requires separate signature, uses FSFe's FLA 2.0) is mostly enough. Doing both is recommended to avoid further legal headaches down the line, atlhough ~sircmpwn recommends against signing the CLA, especially due to legalities around copyright assignments in OSS.