system

Nix (home-manager) configurations for my computers

Commits at 8036f6fd016a34d7f6a0cacfa2cac29e021e16b6

  1. 43103596 Update documentation Shota FUJI authored at Shota FUJI comitted at
  2. 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
  3. d5cb15ae Install Ghostty's terminfo to workerbee containers Shota FUJI authored at Shota FUJI comitted at
  4. 37a6756c programs/workerbee: Helper CLI for dev container Shota FUJI authored at Shota FUJI comitted at
  5. fc7cc2d5 wayland: Set proxied socket path for workerbee Shota FUJI authored at Shota FUJI comitted at
  6. 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
  7. 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
  8. fa39bdfa Home configuration for dev container Shota FUJI authored at Shota FUJI comitted at
  9. 01cdab21 programs/my-theme: Fish completion Shota FUJI authored at Shota FUJI comitted at
  10. 6a7a1064 nvim: Install vim-flatbuffers Shota FUJI authored at Shota FUJI comitted at
  11. 2b7cf9da Update nixgl to latest To apply the below change: <https://github.com./nix-community/nixGL/pull/206> "home-manager switch" no longer emits deprecation warnings. Shota FUJI authored at Shota FUJI comitted at
  12. dc9482cf Update plac to latest To eliminate flake-utils. Shota FUJI authored at Shota FUJI comitted at
  13. 157856da Update nixpkgs to latest unstable To fix Syncthing failing to launch. I've once upgraded nixpkgs to the latest version two days ago *locally*. It was to test if the new Atuin package (which addressed Fish breaking change) but it wasn't there, so I `jj restore`-ed. The problem is, Syncthing migrated its database to the latest version and their migration does not consider downgrading at all. Since the downgrade, Syncthing fails to start with a migration error (an SQL error containing `CREATE INDEX IF NOT EXISTS files_name_only ON files (name)`.) Shota FUJI authored at Shota FUJI comitted at
  14. 4959d9ae nvim: Include "locals.scm" from tree-sitter-vala I'm not convinced its usefulness, though. Shota FUJI authored at Shota FUJI comitted at
  15. 0805f87a nvim: Upgrade tree-sitter-vala To apply patch for fixing "new" not being highlighted. Shota FUJI authored at Shota FUJI comitted at
  16. f8fd36d0 nvim: Upgrade tree-sitter-vala Shota FUJI authored at Shota FUJI comitted at
  17. 7e540c61 nvim: Use fork of tree-sitter-vala The original one is unmaintained and buggy. Shota FUJI authored at Shota FUJI comitted at
  18. ba335678 aspell: Install Shota FUJI authored at Shota FUJI comitted at
  19. 38012692 plac: Add package Shota FUJI authored at Shota FUJI comitted at
  20. eb22677f legit: Upgrade to the latest ref Shota FUJI authored at Shota FUJI comitted at
  21. 63559bba nvim: Install zen-mode Shota FUJI authored at Shota FUJI comitted at
  22. dc543f6a Fix scm-server is not buildable Somehow Home-Manager changed the option without deprecating or anything and Nix started to emit cryptic error message. Shota FUJI authored at Shota FUJI comitted at
  23. 7695c8a7 nix: Disable git dirty warning It's noisy and too opinonated to be on by default. Shota FUJI authored at Shota FUJI comitted at
  24. 9fa916e7 programs/waybar-text: Prevent unnecessary derivation rebuild Shota FUJI authored at Shota FUJI comitted at
  25. 2cb2e411 programs/waybar-text: Migrate to Zig v0.15 Shota FUJI authored at Shota FUJI comitted at
  26. f62c6c5b programs/my-theme: Migrate to Zig v0.15 Shota FUJI authored at Shota FUJI comitted at
  27. 675a0873 ghostty: Workaround new window inherits working directory Regression in Ghostty v1.2.0. Shota FUJI authored at Shota FUJI comitted at
  28. 20206143 Remove unnecessary newline Shota FUJI authored at Shota FUJI comitted at
  29. a9490a7e ghostty: Remove "dlig" exclusion from font-features Ghostty 1.2.0 fixed that feature being enabled by default. Shota FUJI authored at Shota FUJI comitted at
  30. d86cefb8 Update Flake inputs $ nix flake update Then, * Pinned Zig version in custom programs to 0.14 * Migrated to the new Ghostty theme name https://ghostty.org/docs/install/release-notes/1-2-0#breaking-changes Shota FUJI authored at Shota FUJI comitted at