Commit graph

535 commits

Author SHA1 Message Date
24c6d78f8f
refactor(nix): Make duti only install on macOS 2024-07-16 10:27:57 +07:00
b27596dac3
chore: Add editorconfig 2024-07-16 10:25:39 +07:00
68527e4a8b
fix(zsh): git integration error 2024-07-16 08:50:41 +07:00
0fae8aa1e3
chore(nix): Add duti 2024-07-15 15:56:47 +07:00
9dc8847f4f
refactor(zsh): Use case 2024-07-15 15:42:31 +07:00
7b2924075f
refactor(zsh): Simplify code 2024-07-15 12:15:36 +07:00
93b32a8f43
fix(zsh): Don't detect empty untracked dir 2024-07-15 08:35:22 +07:00
2ff100e3bf
style: Fix inconsistent tab height when it being hovered 2024-07-14 09:08:26 +07:00
8a105fae1d
refactor: Apparently using case switch is POSIX 2024-07-13 10:00:02 +07:00
1002f2806d
refactor(nix): Remove nixpkgs.hostPlatform
Should already covered by `inherit system`
2024-07-13 09:40:00 +07:00
2ef4e6f407
refactor(nix): Use home-manager
Looks like nix-darwin is planning to drop per-user launchd (or perhaps
per-user feature entirely).
2024-07-13 09:09:20 +07:00
dff532c060
chore(nix): Disable auto install macOS update 2024-07-13 08:36:16 +07:00
c409f194eb
refactor(nix): Let nix install the CapsEscSwap LaunchAgent
It is a macOS-only thing after all
2024-07-13 08:27:50 +07:00
9fa1b766ee
chore: Clean up unused config 2024-07-11 21:53:51 +07:00
86459e0b0e
refactor(nix): Use withPackages to install python packages 2024-07-11 20:45:36 +07:00
aabd58ea3c
chore: Some comments 2024-07-11 19:55:30 +07:00
b90bdbcc30
refactor(zsh): Env variable to check if we're in macOS 2024-07-11 19:50:37 +07:00
6f5ad0588d
refactor(nix): No need to override python
Not sure why and how, but issue with `/usr/bin/env python3` just fixed
itself after migrating to flake.nix... I might've messed up nix setup
the first time
2024-07-11 13:44:32 +07:00
2155ef271d
chore(deps): Update python to 3.12 2024-07-11 13:37:00 +07:00
ea122dc39a
fix(zsh): Make $ZDOTDIR if it doesn't exists
Try to prevent "No such file or directory" error
2024-07-11 13:16:42 +07:00
bf8657c239
chore(zsh): Re-enable compinit 2024-07-11 13:12:05 +07:00
33e4513d91
fix(zsh): Backspace not working properly
REF: https://github.com/sorin-ionescu/prezto/issues/61#issue-3786521
2024-07-11 13:09:47 +07:00
2faf9059b8
refactor: Split nix config 2024-07-11 11:51:23 +07:00
37b30544c1
fix: Some nix stuff 2024-07-11 11:11:43 +07:00
d6e397e831
chore: Comments 2024-07-11 10:02:17 +07:00
2e1452a1f2
docs: Rephrase 2024-07-11 09:12:48 +07:00
03ef2fe3c3
docs: Add documentation for nix 2024-07-11 06:36:19 +07:00
1729cf7ada
fix: Fix alias 2024-07-11 06:34:43 +07:00
5e112ab2d2
fix: Fix gitignore 2024-07-11 05:52:16 +07:00
8299fa588c
chore: Initial nix config 2024-07-11 05:51:07 +07:00
6d9ac7a453
docs: Make it hyperlink 2024-07-11 04:58:35 +07:00
f6b8086c55
feat: CapsLock <-> Esc swap for macOS 2024-07-11 04:57:49 +07:00
8c259f5292
refactor: Move .ff-chrome/ into .include/ dir 2024-07-11 04:54:58 +07:00
b2c85667e6
fix: Also add alias for nix-darwin 2024-07-11 04:26:13 +07:00
04a682f13c
feat: Shortcut to nix config
So that we're able to do `darwin-rebuild --flake .` since there's no
default flake path at the moment. There's however a PR that'll set
nix-darwin default flake path to `~/.config/nix-darwin` (or
`/etc/nix-darwin`).

REF:
 - https://github.com/LnL7/nix-darwin/issues/721
 - https://github.com/LnL7/nix-darwin/pull/741
2024-07-11 04:16:50 +07:00
3e58f91c97
chore: Initial nix-darwin darwin-configuration -> flake migration 2024-07-11 04:12:01 +07:00
3117a62670
chore(deps): Add ffmpeg and ffmpeg4.4
ffmpeg4.4 is required in order to make Firefox-based browser to play
video properly
2024-07-10 11:51:54 +07:00
102d914e4a
fix: Slight site width change 2024-07-10 11:49:54 +07:00
41f7f51fe5
style: Making vertical tab width consistant with sidebar 2024-07-10 11:41:02 +07:00
014606d748
docs: Fix typo 2024-07-10 11:07:06 +07:00
bca922e0a1
feat: userChrome.css for Floorp 2024-07-10 11:05:38 +07:00
eb7c99115e
chore: Migrate to floorp 2024-07-10 08:47:22 +07:00
8ab1be7a41
chore: Disable LSP for Kotlin
Causing memleak
2024-07-10 07:46:24 +07:00
e2a8c33d46
enhance: Bluetooth workaround
REF: https://github.com/null2264/Hackintosh-L460?tab=readme-ov-file#bluetooth-workaround
2024-07-09 08:56:34 +07:00
5087a63877
fix: Include PYENV_ROOT in PATH 2024-07-09 08:56:07 +07:00
4edefc15ff
fix: cdgit for macOS setup 2024-07-09 08:55:48 +07:00
2ee7dcd7a0
feat: Script for SDKMAN! java setup on macOS
macOS find JAVA_HOME differently than other OS for some reason, and it
doesn't seems to be documented either, but basically macOS will detect
latest JVM(Platform) in "/Library/Java/JavaVirtualMachines" (or
"~/Library/Java/JavaVirtualMachines"). To do detect the version they
look up Info.plist in "<java-distro>/Contents", if it's the newest it
then print the "Home" dir path of that distro.
(e.g. "/Users/<user>/Library/Java/JavaVirtualMachines/zulu-13.0.0/Contents/Home")

Not sure why SDKMAN! didn't handle this themselves, but whatever. This
solve my issue when trying to run KMM iOS App

REF: https://stackoverflow.com/questions/76523553/how-to-make-usr-libexec-java-home-find-jdk-installed-using-sdkman-on-macos
2024-07-08 12:55:03 +07:00
5f6b1b210f
fix: zsh-xdg-setup breaks nix-darwin setup 2024-07-08 09:30:26 +07:00
84e0d69982
chore(deps): Update nvim plugins 2024-07-08 09:29:54 +07:00
9e8f104d51
chore(env): Android SDK build-tools tips 2024-07-06 10:25:25 +07:00