system

Nix (home-manager) configurations for my computers

Commits at 3664ecfc162c609f60627a21f0da43039835ad89

  1. 3664ecfc thunderbird: Add module Shota FUJI authored at Shota FUJI comitted at
  2. 2e33a6d0 nixos/wayland-desktop: Install GNOME icons Swaybar shows legacy ugly icon otherwise. Shota FUJI authored at Shota FUJI comitted at
  3. eac730e9 nixos/queenbee: Setup Wireguard Shota FUJI authored at Shota FUJI comitted at
  4. c5913bb6 Add Wireguard key Shota FUJI authored at Shota FUJI comitted at
  5. f2b0ab68 Fix devShells Shota FUJI authored at Shota FUJI comitted at
  6. 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
  7. 1abeea2f Add FHS devshell "dprint-plugin-exec" won't work outside FHS environment. Shota FUJI authored at Shota FUJI comitted at
  8. 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
  9. d60b741f hm-clean: Delete program `nix-collect-garbage -d` (non-root) does the job. Shota FUJI authored at Shota FUJI comitted at
  10. 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
  11. 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
  12. dd92e54d Hardware configurations for queenbee I don't know if this works. Shota FUJI authored at Shota FUJI comitted at
  13. 8122620b Encyprt queenbee's password using (r)agenix Evaluating. Shota FUJI authored at Shota FUJI comitted at
  14. d9aa7cb0 Documentation for NixOS configurations Shota FUJI authored at Shota FUJI comitted at
  15. 555e9a93 Refactor overlays No duplicated overlays. Shota FUJI authored at Shota FUJI comitted at
  16. 867d14c6 Minimal NixOS configuration For initial setup. Shota FUJI authored at Shota FUJI comitted at
  17. c8d6fd3f Move NixOS configurations into modules Shota FUJI authored at Shota FUJI comitted at
  18. 43103596 Update documentation Shota FUJI authored at Shota FUJI comitted at
  19. 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
  20. d5cb15ae Install Ghostty's terminfo to workerbee containers Shota FUJI authored at Shota FUJI comitted at
  21. 37a6756c programs/workerbee: Helper CLI for dev container Shota FUJI authored at Shota FUJI comitted at
  22. fc7cc2d5 wayland: Set proxied socket path for workerbee Shota FUJI authored at Shota FUJI comitted at
  23. 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
  24. 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
  25. fa39bdfa Home configuration for dev container Shota FUJI authored at Shota FUJI comitted at
  26. 01cdab21 programs/my-theme: Fish completion Shota FUJI authored at Shota FUJI comitted at
  27. 6a7a1064 nvim: Install vim-flatbuffers Shota FUJI authored at Shota FUJI comitted at
  28. 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
  29. dc9482cf Update plac to latest To eliminate flake-utils. Shota FUJI authored at Shota FUJI comitted at
  30. 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