Select the types of activity you want to include in your feed.
Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature.
gitlab.com/andreijiroh-dev/dotfiles
···11+# SPDX-License-Identifier: MPL-2.0
22+# This is the 1Password SSH agent config file, which allows you to customize the
33+# behavior of the SSH agent running on this machine.
44+#
55+# You can use it to:
66+# * Enable keys from other vaults than the Private vault
77+# * Control the order in which keys are offered to SSH servers
88+#
99+# EXAMPLE
1010+#
1111+# By default, all keys in your Private vault(s) are enabled:
1212+#
1313+# [[ssh-keys]]
1414+# vault = "Private"
1515+#
1616+# You can enable more keys by adding more `[[ssh-keys]]` entries.
1717+# For example, to first enable item "My SSH Key" from "My Custom Vault":
1818+#
1919+# [[ssh-keys]]
2020+# item = "My SSH Key"
2121+# vault = "My Custom Vault"
2222+#
2323+# [[ssh-keys]]
2424+# vault = "Private"
2525+#
2626+# You can test the result by running:
2727+#
2828+# SSH_AUTH_SOCK=~/.1password/agent.sock ssh-add -l
2929+#
3030+# More examples can be found here:
3131+# https://developer.1password.com/docs/ssh/agent/config
3232+3333+# main key since 2022
3434+[[ssh-keys]]
3535+vault = "Personal"
3636+item = "ztyawq2e2iajh2h76ls2rls7aq"
3737+account = "Andrei Jiroh Halili"
3838+# launchpad.net and others that don't support Ed25519 yet
3939+[[ssh-keys]]
4040+vault = "Personal"
4141+item = "juivb4nx4uuftbhopukninhni4"
4242+account = "Andrei Jiroh Halili"
4343+# releases
4444+[[ssh-keys]]
4545+vault = "CI/CD Automation Toolkit"
4646+item = "hfkcoqzbpa3gjb2utvi5rpvc5y"
4747+account = "Andrei Jiroh Halili"
4848+4949+# RecapTime.dev
5050+[[ssh-keys]]
5151+vault = "Employee"
5252+item = "wklfmur3fegpajjhrx4acwcscm"
5353+account = "https://recaptime-dev.1password.com"
+33
.ssh/config
···11+# This is my SSH client configuration I use for both Nix-based and non-Nix
22+# systems, mainly because I am not yet ready to codify them into home-manager
33+# at the moment. Note that we might need to hack around the 1Password CLI
44+# for headless setups like tildes and agent forwards.
55+66+# load 1Password-specifics here
77+Include ~/.ssh/1Password/config
88+99+# tildeverse
1010+Host nest
1111+ Hostname hackclub.app
1212+ User ajhalili2006
1313+ IdentityAgent ~/.1password/agent.sock
1414+Host psf
1515+ Hostname p.psf.lt
1616+ User ajhalili2006
1717+ IdentityAgent ~/.1password/agent.sock
1818+Host ctrl-c
1919+ Hostname ctrl-c.clib
2020+ User ajhalili2006
2121+ IdentityAgent ~/.1password/agent.sock
2222+Host hashbang
2323+ Hostname de1.hashbang.sh
2424+ User ajhalili2006
2525+2626+# TODO: Add machines on the tailnet later
2727+# Recap Time Squad specifics
2828+Host stellapent
2929+ Hostname stellapent-cier.fawn-cod.ts.net
3030+# Our own proxyparty instance on virtnet.bond :)
3131+Host proxyparty
3232+ # Will set this up later
3333+ Hostname proxypartylab.tuna-skate.ts.net
+41-5
README.md
···7788## Usage
991010-### Using my Nixpkgs config
1010+### Plain dotfiles
11111212-Make sure Git is installed in your NixOS/nixpkgs setup (via `/etc/nixos/configuration.nix` or
1313-the usual `nix-env -iA nixpkgs.gitFull` or `nix profile install nixpkgs#gitFull` if using
1414-Flakes) for the setup to work.
1212+Make sure Git is installed in your non NixOS/nixpkgs setup for the setup to work.
15131614```bash
1715cd ~
···2018git checkout -f main
2119```
22202121+If you prefer to cook up with yadm:
2222+2323+```bash
2424+yadm clone https://github.com/andreijiroh-dev/dotfiles
2525+ln -s ./.local/share/yadm/TBD ./.git # so that we can normally use git here
2626+```
2727+2828+### Using nix flakes + home-manager
2929+3030+```bash
3131+# A quick home-manager switch should do the trick
3232+nix run home-manager/master -- switch --flake github:andreijiroh-dev/nixops-config
3333+3434+# otherwise a quick copy paste configs should fix 'em if you use a different username
3535+# (not different home directory yet!)
3636+```
3737+3838+#### Updating `authorized_keys` with Nix
3939+4040+1. Update [`shared/ssh-keys.nix`][ssh-keys] and `users.users.<gildedguy|ajhalili2006>.openssh.authorizedKeys.keys`
4141+2. Run `nixos-rebuild switch` to regenerate `/etc/ssh/authorized_keys.d/<gildedguy|ajhalili2006>`.
4242+3. Copy that file back to `.ssh/authorized_keys`. Commit changes and push.
4343+4. On the affected machines, just `git pull` away.
4444+4545+### Using 1Password SSH Agent integration
4646+4747+> [!WARNING]
4848+> 1Password Desktop app must be installed and enabled `Use SSH Agent` in
4949+> **Settings** -> **Developer** -> **SSH Agent** after signing in.
5050+5151+Note that this should work on most desktop apps, although if you're in Nest (and friends
5252+with RDP access), connect to there first and authenicate. You may need to adjust security
5353+settings in the desktop app to ensure nothing go wrong.
5454+2355## Directory + File Map
24562557### Essientials
26582759* [`.config/nixos`](./.config/nixos/) - my NixOS configuration as a flake, including system tools,
2828-usually in sync
6060+usually in sync (TODO: Swap into Git module of <https://github.com/andreijiroh-dev/nixops-config> soon)
2961* [`.config/home-manager`](./.config/home-manager/) - Home-manager configs, mostly CLI and desktop apps go here
3062* [`bin`](./bin) - Shell scripts! (because Nix looks like Haskell to me)
3163···3567* [`@andreijiroh-dev/infraops`][infraops] - the homelab config in pure Docker Compose insanity, alongside DNS records YAML files for octoDNS
3668* [`@recaptime-dev/infra`][rtdev-infra] - @recaptime-dev's infra configurations and home for our Infra Issue Tracker
3769* [`@recaptime-dev/infra-internals`][rtdev-infra-internals] - @recaptime-dev's infra configs for Portainer (the public repo version only have `stack.env` files removed via `git-filter-repo`)
7070+7171+## License
7272+7373+MPL-2.0
38743975[nixops-config]: https://github.com/andreijiroh-dev/nixops-config
4076[infraops]: https://github.com/andreijiroh-dev/infraops
+9
meta-info.toml
···11+# Mainly used by p.psf.lt for profile metadata.
22+fullname = "Andrei Jiroh Halili"
33+#gemini = "gemini.andreijiroh.xyz"
44+website = "https://andreijiroh.dev"
55+description = "Building OSS at RecapTime.dev, also Autistic Filipino and Hack Clubber"
66+email = "ajhalili2006@andreijiroh.dev"
77+matrix = "@ajhalili2006:andreijiroh.dev"
88+fediverse = "tilde.zone/@ajhalili2006"
99+location = "Marilao, Bulacan, Philippines"