Commit graph

447 commits

Author SHA1 Message Date
29bc84fabc
refactor(script/user-chrome-setup): Install userChrome.css to multiple
profiles
2024-07-19 19:55:43 +07:00
783d2bbd4c
chore(script/bootstrap): Add some packages 2024-07-19 19:47:59 +07:00
7e0770387b
refactor(script/bootstrap): Checks and stuff
* Use case to check package manager for easier control
* Finally use `install_aur_packages` function
  * Add a check to make sure it won't run on distro other than arch
  * Add a check to make sure AUR helper is already installed
* Add extra check to make sure package is not empty
2024-07-19 19:07:32 +07:00
28b29c3487
chore(nix): Use nix to install yt-dlp 2024-07-19 10:52:09 +07:00
905d7e2309
chore(nix): Clean up unused code 2024-07-16 22:19:44 +07:00
a0dd718b4e
chore(nix): Migrate inkscape from homebrew to nix
Also add overlay to ignore pytest for some python packages, because
python is pain
2024-07-16 16:29:32 +07:00
6088674857
style(zsh): Different colour for different vi mode 2024-07-16 11:44:55 +07:00
d8750d6712
chore(nix): Only enable browserpass for chrome (arc) and brave 2024-07-16 11:34:23 +07:00
ecaf288606
refactor(nix): Use nix to setup browserpass 2024-07-16 11:30:13 +07:00
0a140214b7
chore(nix): Install IINA through nix 2024-07-16 11:16:16 +07:00
337bd0a6a5
fix(nix): Symlink the apps, not the folder 2024-07-16 11:11:51 +07:00
a56d56788d
chore(nix): Add rclone and move pinentry_mac to optional list 2024-07-16 10:34:56 +07:00
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