system

Nix (home-manager) configurations for my computers

Commits at 0213334ba6c41c636f6f32758c7351cbc6407208

  1. f686b5a1 wayland-desktop/waybar: Add WirePlumber module NixOS uses PipeWire. Shota FUJI authored at Shota FUJI comitted at
  2. ae1faa37 nixos/profiles/workerbee: Use instance name as hostname Shota FUJI authored at Shota FUJI comitted at
  3. 72596973 Use ragenix binary from nixpkgs Launching devShell inside VM tries to build from ragenix source. Shota FUJI authored at Shota FUJI comitted at
  4. d5a66d34 hm/wayland-desktop: Set cursor Shota FUJI authored at Shota FUJI comitted at
  5. 2be8d94f nixos: Set timezone Shota FUJI authored at Shota FUJI comitted at
  6. 3664ecfc thunderbird: Add module Shota FUJI authored at Shota FUJI comitted at
  7. 2e33a6d0 nixos/wayland-desktop: Install GNOME icons Swaybar shows legacy ugly icon otherwise. Shota FUJI authored at Shota FUJI comitted at
  8. eac730e9 nixos/queenbee: Setup Wireguard Shota FUJI authored at Shota FUJI comitted at
  9. c5913bb6 Add Wireguard key Shota FUJI authored at Shota FUJI comitted at
  10. f2b0ab68 Fix devShells Shota FUJI authored at Shota FUJI comitted at
  11. 3891cf90 fonts: 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
  12. 1abeea2f Add FHS devshell "dprint-plugin-exec" won't work outside FHS environment. Shota FUJI authored at Shota FUJI comitted at
  13. c5d5d003 wayland-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
  14. d60b741f hm-clean: Delete program `nix-collect-garbage -d` (non-root) does the job. Shota FUJI authored at Shota FUJI comitted at
  15. f4b93e2f nixos/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
  16. 26ad576f Do 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
  17. dd92e54d Hardware configurations for queenbee I don't know if this works. Shota FUJI authored at Shota FUJI comitted at
  18. 8122620b Encyprt queenbee's password using (r)agenix Evaluating. Shota FUJI authored at Shota FUJI comitted at
  19. d9aa7cb0 Documentation for NixOS configurations Shota FUJI authored at Shota FUJI comitted at
  20. 555e9a93 Refactor overlays No duplicated overlays. Shota FUJI authored at Shota FUJI comitted at
  21. 867d14c6 Minimal NixOS configuration For initial setup. Shota FUJI authored at Shota FUJI comitted at
  22. c8d6fd3f Move NixOS configurations into modules Shota FUJI authored at Shota FUJI comitted at
  23. 43103596 Update documentation Shota FUJI authored at Shota FUJI comitted at
  24. 415c7ddd Refactor 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
  25. d5cb15ae Install Ghostty's terminfo to workerbee containers Shota FUJI authored at Shota FUJI comitted at
  26. 37a6756c programs/workerbee: Helper CLI for dev container Shota FUJI authored at Shota FUJI comitted at
  27. fc7cc2d5 wayland: Set proxied socket path for workerbee Shota FUJI authored at Shota FUJI comitted at
  28. a681013b NixOS config for dev container Supply chain attacks has been active recently, and the latest Shai-Hulud was the last push. In addition to the security benefit, I hope migrating project development inside container makes my future migration to NixOS easier by slimming down the host (GUI + git + basic tools). Shota FUJI authored at Shota FUJI comitted at
  29. 197938ed git: Use relative path for worktree Git by default uses absolute path for worktree pointer. This is really problematic in system container environments. To make git work with absolute paths inside container, I have to mount the original repository to container with same path as host. Relative path is obviously the way to go. Shota FUJI authored at Shota FUJI comitted at
  30. fa39bdfa Home configuration for dev container Shota FUJI authored at Shota FUJI comitted at