Nix (home-manager) configurations for my computers
Commits at a5692960e4aeadc7f5813a0c359a73c7edc3dd57
da0a0eeehm/wayland-desktop: Configure GTK font and icon theme
Default (without any settings) is really ugly.
Shota FUJI
authored at
Shota FUJI
comitted at
6691dc7fhm/apps/web/firefox: Manage settings in Nix
It was exhausting process to check / uncheck countless options.
Shota FUJI
authored at
Shota FUJI
comitted at
483a6508hm/profiles/nixos-desktop: Use lowercase directories for XDG user dirs
Shota FUJI
authored at
Shota FUJI
comitted at
3891cf90fonts: Install Noto Font, including CJK ones
Otherwise system renders CJK text in Windows XP era pixelated way.
Shota FUJI
authored at
Shota FUJI
comitted at
1abeea2fAdd FHS devshell
"dprint-plugin-exec" won't work outside FHS environment.
Shota FUJI
authored at
Shota FUJI
comitted at
c5d5d003wayland-desktop: More reliable display scaling
If I connect my machine via different method, for example DP-alt, I have
to add a duplicated output config or scaling won't work.
Shota FUJI
authored at
Shota FUJI
comitted at
d60b741fhm-clean: Delete program
`nix-collect-garbage -d` (non-root) does the job.
Shota FUJI
authored at
Shota FUJI
comitted at
f4b93e2fnixos/hive: Fix container has no internet access
https://wiki.nixos.org/wiki/Incus
Missed "Networking/Firewall" section.
Shota FUJI
authored at
Shota FUJI
comitted at
26ad576fDo not version control NixOS user password
Target machine's public key is required for encrypting the password.
However, getting the target machine's public key requires the user's
password. root user's password configured at `nixos-install` will be
wiped because of `mutableUsers = false`. So no way to login.
Therefore `mutableUsers` has to be `true`, and if that option is
enabled, I don't see any practical merits on committing encrypted
password. If I set root password, why not set a normal user's password
too?
Shota FUJI
authored at
Shota FUJI
comitted at
dd92e54dHardware configurations for queenbee
I don't know if this works.
Shota FUJI
authored at
Shota FUJI
comitted at
415c7dddRefactor module structure
The previous custom module architecture was PITA. `flake.nix` gets messy
and finding corresponding module to edit is not easy. Also the resulted
configuration contains unnecessary packages and wastes storage space.
This new architecture, which most of the people online is using, is
easily navigatable, has clear dependency, and uses minimal storage.
Previously `nix run .#incus-import nixos-workerbee` generated over 1GB
image. Now the generated image sizes only 357MiB.
In part of migration, I bumped `home.stateVersion` and upgraded several
options. Notably,
* Switched from `,theme` to darkman for less maintenance cost.
* swaylock and walker now uses HM options.
* Improved Ghostty theme, powered by nix-colorizer.
* Removed unused packages:
- fossil ... Version control.
- lf ... TUI file manager.
- bat ... Bloated. `nvim -R` is enough.
- tmux ... Multiple SSH session should be used. Install mosh if
session persistece is needed.
- nushell ... Not used.
- qalc ... Not used.
- zls, sourcekit ... Language servers. Project should install these.
- mise ... Tool became bloated. Project should install this.
- reuse ... Project should install this.
I only tested `linux-desktop` and `workerbee` profiles. Other profiles
may not build or may have invalid configuration (runtime error.)
Shota FUJI
authored at
Shota FUJI
comitted at