Commit Graph

29 Commits

Author SHA1 Message Date
Hoang Nguyen 9f9f81d675
darwin: simplify environment.profiles 2024-06-08 00:00:00 +07:00
Hoang Nguyen 62dae84fb9
Start emacs daemon on graphical-session 2024-05-03 00:00:00 +07:00
Hoang Nguyen c9b187b911
Set umask using login.defs instead of in user's shell session 2024-05-03 00:00:00 +07:00
Hoang Nguyen 6ba664f3ea
Add external HDD disk to aragorn host
Also configure snapshot and scrubbing for it.
2024-05-02 00:00:00 +07:00
Hoang Nguyen 0f63512b71
Update services.displayManager references
(it was renamed from 'services.xserver.displayManager')
Also mark home-manager.config.programs.chromium as broken (ungoogled-chromium is not supported yet)
2024-05-01 00:00:00 +07:00
Hoang Nguyen 8a3762d009
Add chromium flags
Also update shell plugins and flake lockfile.
2024-05-01 00:00:00 +07:00
Hoang Nguyen 8716fa17d3
Update configuration for the Darwin host
chromium package is not available on Darwin platforms, so use HomeBrew
there instead.
Also tweak puppeteer's configuration variables.
2024-04-06 00:00:00 +07:00
Hoang Nguyen 3b65e08934
Use home-manager's opam module 2024-03-31 00:00:00 +07:00
Hoang Nguyen 7ba4267984
Add basic librewolf and chromium configuration 2024-03-31 00:00:00 +07:00
Hoang Nguyen 8f5b2fc728
Improve preview script + update flake.lock
Convert and cache image file if it can't be previewed by chafa originally.
NOTE: awscli2 is currently broken (fails to build). Will be fixed upstream soon.
2024-03-25 00:00:00 +07:00
Hoang Nguyen b09ef0eab2
Tweak Guix's env vars 2024-03-17 00:00:00 +07:00
Hoang Nguyen 0b5911c634
nix fmt 2024-03-17 00:00:00 +07:00
Hoang Nguyen e180e48f4c
Extract guix configuration to common nixos module 2024-03-16 00:00:00 +07:00
Hoang Nguyen c880f788fd
Be more tolerant with neovim and emacs config update
Replace zsh.profileExtra occurrence with zsh.loginExtra. Hopefully it
will be sourced by the login manager.
2024-03-16 00:00:00 +07:00
Hoang Nguyen 59199874a3
Add extract.sh script 2024-03-14 00:00:00 +07:00
Hoang Nguyen 50f8194fac
Enable apparmor
The fix is finally available on nixos-unstable.

Also add notes on things needed to be fixed in the future.
2024-03-10 00:00:00 +07:00
Hoang Nguyen a898cb66d3
Add fcitx5
Also fix misconfigurations here and there.
2024-03-10 00:00:00 +07:00
Hoang Nguyen 70e67f60ab
Enable user shells
Also flatten sops secret for home-manager.
2024-03-09 00:00:00 +07:00
Hoang Nguyen 094d49224b
Still doesn't work yet 2024-03-03 00:00:00 +07:00
Hoang Nguyen e4c5ccb26c
Fix some home-manager modules, and add more user packages
Add yt-dlp, translate-shell and git-forgit modules.
2024-03-03 00:00:00 +07:00
Hoang Nguyen fe9c5cde5e
Add user config for aragorn
Also:
- refactor out xdg stuff from home module
- add foot, alacritty, zellij, luarocks to home-manager
2024-03-03 00:00:00 +07:00
Hoang Nguyen 27ebc5e972
Make disko usage easier
Also fix some bugs.
2024-02-24 00:00:00 +07:00
Hoang Nguyen 1dc188982d
Initial configuration for gallery-dl 2024-02-17 00:00:00 +07:00
Hoang Nguyen d22674d7ea
Shorten some module config
`imports` keyword can coexist with normal config options.
2024-02-17 00:00:00 +07:00
Hoang Nguyen 97dbdaf7e8
zsh: rearrange plugins' load order
Ensure zsh-vi-mode is sourced first (and immediately) so that its
functionality can be overridden by others later.
2024-02-16 00:00:00 +07:00
Hoang Nguyen 55b61e5f34
Fix socket_vmnet module
`sudo brew services` works while running `brew services` as root doesn't
2024-02-16 00:00:00 +07:00
Hoang Nguyen eeae0fb859
Fix some bugs
And also be more specific on loading OS modules for darwin/nixos
configurations.
2024-02-16 00:00:00 +07:00
Hoang Nguyen 2a610f308b
Finish the restructure (again :D)
- Add various custom modules
- Flatten the top-level configuration module to project root
2024-02-16 00:00:00 +07:00
Hoang Nguyen a71149c0ed
Code snapshot
This is safe enough for a commit, though it doesn't work yet.

TODO: update home-manager module references
2024-02-09 00:00:00 +07:00