Hoang Nguyen
72ad78de52
Use the latest version of Nix
2024-05-19 00:00:00 +07:00
Hoang Nguyen
5c9fb6aaa6
Move pam_umask stuff into NixOS default module
...
I forgot that common.nix file is also used for Darwin host.
2024-05-12 00:00:00 +07:00
Hoang Nguyen
62dae84fb9
Start emacs daemon on graphical-session
2024-05-03 00:00:00 +07:00
Hoang Nguyen
5e0bf5d20f
Disable btrbk logging
...
btrbk can always be invoked via the systemd service, hence journalctl
should be used instead.
2024-05-03 00:00:00 +07:00
Hoang Nguyen
04efc21739
Allow other users outside of wheel group to run sudo command
...
This is mostly for `btrbk` service, in particular.
2024-05-03 00:00:00 +07:00
Hoang Nguyen
ea91d14dda
Setting umask inside login.defs alone doesn't seem to work
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
148b9f22c9
Some minor changes to aragorn host
...
- guix-daemon: lower number of build users, as I've consistently seen
the builds not finishing quickly enough
- swap out sudo for sudo-rs (just trying out stuff for fun)
- add more packages for follie user
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
da9330649e
Revert ark change
...
unfreeEnableUnrar option comes from libsForQt5.ark package, which is
a different derivation.
2024-03-17 00:00:00 +07:00
Hoang Nguyen
2330775008
Some tweaks to substituters and users' settings
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
8b4b9acca0
Update iosevka-bin's variant names
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
a39b625eba
sops-nix still errors out
...
so try flattening the key-value this time
2024-03-09 00:00:00 +07:00
Hoang Nguyen
d8030f2b2d
Update flake.lock
2024-03-09 00:00:00 +07:00
Hoang Nguyen
fe27c1bf7b
plasma6 huh
2024-03-03 00:00:00 +07:00
Hoang Nguyen
094d49224b
Still doesn't work yet
2024-03-03 00:00:00 +07:00
Hoang Nguyen
cecee86c85
Fix programs statement for gema user
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
cb9bb5f201
Apparently Grub font settings don't work when a theme is in used
2024-02-25 00:00:00 +07:00
Hoang Nguyen
f06987ddd6
Fix Grub config
2024-02-25 00:00:00 +07:00
Hoang Nguyen
856519d807
Switch to GRUB and add more system configuration
...
The system boots and functions now. Let's reinstall again \(^v^)/
2024-02-25 14:53:17 +07:00
Hoang Nguyen
6a156fe0de
Enable plymouth again
...
- Limit the number of boot entries to avoid /boot to go out of disk space.
- Also make the configuration of users more logical.
2024-02-25 00:00:00 +07:00
Hoang Nguyen
2d60495a40
Make zfs and amdgpu modules available early in boot process
...
Also temporarily disable plymouth.
2024-02-24 00:00:00 +07:00
Hoang Nguyen
e1892bedb3
Bring back canmount=off for the toplevel zpool
...
Also update README
2024-02-24 00:00:00 +07:00
Hoang Nguyen
cc7a795d37
Specify filesystem mountpoint for zfs_fs
...
Or else disko's mount script won't work.
2024-02-24 00:00:00 +07:00
Hoang Nguyen
612a6eed19
Mount /nix and /gnu with atime=off for aragorn
2024-02-24 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
a6f3bccd0a
Add note about refreservation
...
For future reference
2024-02-22 00:00:00 +07:00
Hoang Nguyen
31b847458e
Initial disko config for aragorn
2024-02-22 00:00:00 +07:00
Hoang Nguyen
bef26b5a36
Initial config for aragorn host
...
Not tested yet :(
2024-02-18 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
7990f2c41a
fix: regression in obtaining the flake registry list
...
Introduced in eeae0fb859
.
2024-02-16 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