1. 🏠主页
  2. 1. 📔README.md
  3. 🌏全局配置
  4. 2. config.nix
  5. 3. TODO: nix/nix.conf
  6. 4. opt.nix
  7. 🖥️系统配置(需sudo,用于NixOS)
  8. 5. system.nix
  9. 6. sys/
    1. 6.1. cli/
      1. 6.1.1. build-machines.nix.md
      2. 6.1.2. sys/cli
    2. 6.2. sys/default.nix
    3. 6.3. gui/
      1. 6.3.1. default.nix.md
      2. 6.3.2. Why moving away from GNOME?
    4. 6.4. modules/
      1. 6.4.1. cachix.nix.md
      2. 6.4.2. default.nix.md
    5. 6.5. Currently, Not Wayland, But X11
  10. 😺用户配置(无需sudo,用于Nix/NixOS)
  11. 7. home.nix
  12. 8. usr/
    1. 8.1. cli/
      1. 8.1.1. basic/
        1. 8.1.1.1. clash/
          1. 8.1.1.1.1. default.nix.md
          2. 8.1.1.1.2. tui/
            1. 8.1.1.1.2.1. default.nix.md
            2. 8.1.1.1.2.2. package.nix.md
        2. 8.1.1.2. default.nix.md
        3. 8.1.1.3. git.nix.md
        4. 8.1.1.4. 📑neovim
          1. 8.1.1.4.1. auto sessions management
          2. 8.1.1.4.2. completion
          3. 8.1.1.4.3. key bindings of closing windows
          4. 8.1.1.4.4. codecompanion-nvim/
            1. 8.1.1.4.4.1. TODO: Let blink.cmp fetch words from codecompanion buffer
          5. 8.1.1.4.5. TODO: sonokai does not support light theme.
          6. 8.1.1.4.6. TODO: niri like buffer width/height adjust
          7. 8.1.1.4.7. fold
          8. 8.1.1.4.8. git-wip: auto wip branch
          9. 8.1.1.4.9. gitsigns-nvim: git support
          10. 8.1.1.4.10. hbac-nvim: auto close buffer
          11. 8.1.1.4.11. leap-nvim.nix.md
          12. 8.1.1.4.12. lualine.nix.md
          13. 8.1.1.4.13. lz-n/
            1. 8.1.1.4.13.1. # lz.n vs lazy.nvim:
            2. 8.1.1.4.13.2. module/
              1. 8.1.1.4.13.2.1. default.nix.md
              2. 8.1.1.4.13.2.2. test.nix.md
            3. 8.1.1.4.13.3. trim.nix.md
          14. 8.1.1.4.14. mini-nvim: a nvim distro
          15. 8.1.1.4.15. minuet-ai-nvim.nix.md
          16. 8.1.1.4.16. nvim-config-local: secure load local vim config
          17. 8.1.1.4.17. nvim-nav.nix.md
          18. 8.1.1.4.18. nvim-treesitter-context.nix.md
          19. 8.1.1.4.19. nvim-treesitter: languages parsing
          20. 8.1.1.4.20. nvim-window-picker
          21. 8.1.1.4.21. outline-nvim.nix.md
          22. 8.1.1.4.22. distant-nvim: edit remote files with local nvim
          23. 8.1.1.4.23. smartyank-nvim: smart yank to clipboard
          24. 8.1.1.4.24. snacks/
            1. 8.1.1.4.24.1. default.nix.md
            2. 8.1.1.4.24.2. image/
              1. 8.1.1.4.24.2.1. Why not using default.nix, due to this file cannot represent this folder solely.
              2. 8.1.1.4.24.2.2. Why write this lua snippet in .nix file, instead .lua file?
            3. 8.1.1.4.24.3. picker/
              1. 8.1.1.4.24.3.1. Telescope Alternatives Comparison
              2. 8.1.1.4.24.3.2. config.nix.md
              3. 8.1.1.4.24.3.3. lua.nix.md
            4. 8.1.1.4.24.4. scroll/
              1. 8.1.1.4.24.4.1. Comparisons:
          25. 8.1.1.4.25. terminal.nix.md
          26. 8.1.1.4.26. todo-comments.nix.md
          27. 8.1.1.4.27. treesitter-injections/
            1. 8.1.1.4.27.1. default.nix.md
          28. 8.1.1.4.28. DrawIt vs venn-nvim
          29. 8.1.1.4.29. vim-easy-align: A simple, easy-to-use Vim alignment plugin.
          30. 8.1.1.4.30. vim-mark: multi-color highlight
          31. 8.1.1.4.31. vim-matchup.nix.md
          32. 8.1.1.4.32. winshift-nvim: rearrange windows
        5. 8.1.1.5. pi/
          1. 8.1.1.5.1. Agents Comparisons
          2. 8.1.1.5.2. default.nix.md
          3. 8.1.1.5.3. extensions/
            1. 8.1.1.5.3.1. acp.nix.md
            2. 8.1.1.5.3.2. My feeling: configure javascript/typescript plugins is awful.
            3. 8.1.1.5.3.3. mcp/
              1. 8.1.1.5.3.3.1. default.nix.md
            4. 8.1.1.5.3.4. pi-hermes-memory/
              1. 8.1.1.5.3.4.1. default.nix.md
            5. 8.1.1.5.3.5. ponytail/
              1. 8.1.1.5.3.5.1. default.nix.md
            6. 8.1.1.5.3.6. rpiv-todo/
              1. 8.1.1.5.3.6.1. default.nix.md
          4. 8.1.1.5.4. providers/
            1. 8.1.1.5.4.1. catwalk-to-custom-provider.nix.md
            2. 8.1.1.5.4.2. default.nix.md
        6. 8.1.1.6. ssh.nix.md
        7. 8.1.1.7. starship.nix.md
        8. 8.1.1.8. tailscale/
          1. 8.1.1.8.1. VPS firewall/security-group ports for the official Tailscale instance:
          2. 8.1.1.8.2. module/
            1. 8.1.1.8.2.1. default.nix.md
            2. 8.1.1.8.2.2. devices.nix.md
            3. 8.1.1.8.2.3. instances.nix.md
          3. 8.1.1.8.3. ssh.nix.md
        9. 8.1.1.9. zsh/
          1. 8.1.1.9.1. default.nix.md
      2. 8.1.2. ctags.nix.md
      3. 8.1.3. default.nix.md
      4. 8.1.4. cli-extra.nix: Extra CLI configs (added to minimal cli config)
      5. 8.1.5. fzf.nix.md
      6. 8.1.6. GDB configurations
      7. 8.1.7. binutils's ld and gcc's ld collsion
      8. 8.1.8. Nodejs packages (npm) in NixOS
      9. 8.1.9. nvim-ext/
        1. 8.1.9.1. default.nix.md
        2. 8.1.9.2. lspconfig/
          1. 8.1.9.2.1. lspconfig for C/C++ language
          2. 8.1.9.2.2. nvim-lspconfig
          3. 8.1.9.2.3. lua.nix.md
          4. 8.1.9.2.4. nix/
            1. 8.1.9.2.4.1. default.nix.md
          5. 8.1.9.2.5. rust/
            1. 8.1.9.2.5.1. default.nix.md
            2. 8.1.9.2.5.2. Rust-Analyzer Go-to-Definition Quirks with Operators
          6. 8.1.9.2.6. If metals throw errors, check /.metals/metals.log
          7. 8.1.9.2.7. typst.nix.md
          8. 8.1.9.2.8. vue.nix.md
        3. 8.1.9.3. markdown-preview.nix.md
        4. 8.1.9.4. rustowl.nix.md
      10. 8.1.10. Python in Nix/NixOS
      11. 8.1.11. 静态链接,以qemu为例
      12. 8.1.12. tldr.nix.md
      13. 8.1.13. tmux
      14. 8.1.14. Pros:
    2. 8.2. usr/default.nix
    3. 8.3. gui/
      1. 8.3.1. cheatsheet_edit.nix.md
      2. 8.3.2. default.nix.md
      3. 8.3.3. dingtalk.nix.md
      4. 8.3.4. dms/
        1. 8.3.4.1. clsettings.nix.md
        2. 8.3.4.2. default-settings.nix.md
        3. 8.3.4.3. default.nix.md
        4. 8.3.4.4. plugins/
          1. 8.3.4.4.1. bing-wallpaper.nix.md
          2. 8.3.4.4.2. default.nix.md
          3. 8.3.4.4.3. unified-taskbar/
            1. 8.3.4.4.3.1. default.nix.md
        5. 8.3.4.5. settings.nix.md
      5. 8.3.5. drawio.nix.md
      6. 8.3.6. evolution/
        1. 8.3.6.1. default.nix.md
        2. 8.3.6.2. evolution-calendar module
        3. 8.3.6.3. template.nix.md
      7. 8.3.7. eww.md
      8. 8.3.8. fcitx5/
        1. 8.3.8.1. default.nix.md
        2. 8.3.8.2. module/
          1. 8.3.8.2.1. default.nix.md
          2. 8.3.8.2.2. tests/
            1. 8.3.8.2.2.1. test.nix.md
        3. 8.3.8.3. quick-phrase-fzf/
          1. 8.3.8.3.1. default.nix.md
          2. 8.3.8.3.2. package.nix.md
      9. 8.3.9. 安装deb包,以飞书为例
      10. 8.3.10. firefox/
        1. 8.3.10.1. apps/
          1. 8.3.10.1.1. firefox-apps
          2. 8.3.10.1.2. firefox module
          3. 8.3.10.1.3. single-tab.nix.md
        2. 8.3.10.2. firefox configurations
        3. 8.3.10.3. extensions/
          1. 8.3.10.3.1. brotab.nix.md
          2. 8.3.10.3.2. chrome-mask.nix.md
          3. 8.3.10.3.3. darkreader.nix.md
          4. 8.3.10.3.4. default.nix.md
          5. 8.3.10.3.5. module.nix.md
          6. 8.3.10.3.6. TIPS (https://github.com/piroor/treestyletab/wiki/How-to-inspect-tree-of-tabs):
          7. 8.3.10.3.7. smart-toc.nix.md
          8. 8.3.10.3.8. smartproxy.nix.md
          9. 8.3.10.3.9. vimium.nix.md
          10. 8.3.10.3.10. webpage-summary.nix.md
      11. 8.3.11. flameshot.nix.md
      12. 8.3.12. gnome/
        1. 8.3.12.1. default.nix.md
        2. 8.3.12.2. extensions/
          1. 8.3.12.2.1. advanced-alttab-window-switcher
          2. 8.3.12.2.2. auto-accent-colour.nix.md
          3. 8.3.12.2.3. BingWallpaper
          4. 8.3.12.2.4. bluetooth battery meter
          5. 8.3.12.2.5. dash-to-dock
          6. 8.3.12.2.6. Gnome Extensions
          7. 8.3.12.2.7. customize-ibus: input method customization
          8. 8.3.12.2.8. gtile: tiled windows manager
          9. 8.3.12.2.9. hide-top-bar
          10. 8.3.12.2.10. lunar-calendar.nix.md
          11. 8.3.12.2.11. new-workspace-shortcut.nix.md
          12. 8.3.12.2.12. pano: Next-gen Clipboard Manager for Gnome Shell
          13. 8.3.12.2.13. system-monitor
          14. 8.3.12.2.14. transparent-top-bar: able to adjust transparency
          15. 8.3.12.2.15. unite: unite style
          16. 8.3.12.2.16. wsp-windows-search-provider.nix.md
      13. 8.3.13. hyprland/
        1. 8.3.13.1. Cons:
        2. 8.3.13.2. Hyprspace vs hyprshell
        3. 8.3.13.3. hyprview.nix.md
        4. 8.3.13.4. ironbar.nix.md
      14. 8.3.14. KDE Connect
      15. 8.3.15. kitty/
        1. 8.3.15.1. kitty
        2. 8.3.15.2. kitty-scrollback-nvim.nix.md
        3. 8.3.15.3. search.nix.md
        4. 8.3.15.4. timer.nix.md
      16. 8.3.16. low-battery-notify.nix.md
      17. 8.3.17. https://nixos.org/manual/nixos/stable/#sec-writing-modules
      18. 8.3.18. niri/
        1. 8.3.18.1. config/
          1. 8.3.18.1.1. Use wev to find out key name
          2. 8.3.18.1.2. default.nix.md
        2. 8.3.18.2. Cons:
      19. 8.3.19. plasma/
        1. 8.3.19.1. Cons:
      20. 8.3.20. rofi.nix.md
      21. 8.3.21. rustdesk, the remote desktop app
      22. 8.3.22. Typora
      23. 8.3.23. warpd.nix.md
      24. 8.3.24. Wayland
      25. 8.3.25. based on https://github.com/lucasew/nixcfg/blob/49d44c1a655f1c20d7354ecea942c78704067d50/pkgs/wrapWine.nix
      26. 8.3.26. wsl.nix.md
      27. 8.3.27. XColor
      28. 8.3.28. xdot, the dot (graphviz) viewer
      29. 8.3.29. xelfviewer.nix.md
    4. 8.4. modules/
      1. 8.4.1. cachix.nix.md
      2. 8.4.2. default.nix.md
      3. 8.4.3. syncthing-gist-ignore.nix.md
      4. 8.4.4. yq-merge/
        1. 8.4.4.1. default.nix.md
        2. 8.4.4.2. tests/
          1. 8.4.4.2.1. basic/
            1. 8.4.4.2.1.1. test.nix.md
          2. 8.4.4.2.2. key-value/
            1. 8.4.4.2.2.1. test.nix.md
          3. 8.4.4.2.3. multi-config/
            1. 8.4.4.2.3.1. test.nix.md
  13. 🤖安卓配置(无需sudo,复用"用户配置")
  14. 9. nix-on-droid.nix
  15. 🔩通用模块
  16. 10. modules/
    1. 10.1. ai/
      1. 10.1.1. catwalk-providers/
        1. 10.1.1.1. default.nix.md
        2. 10.1.1.2. json-to-nix/
          1. 10.1.1.2.1. default.nix.md
          2. 10.1.1.2.2. test.nix.md
        3. 10.1.1.3. test.nix.md
      2. 10.1.2. default.nix.md
      3. 10.1.3. mcp.nix.md
    2. 10.2. cachix.nix.md
    3. 10.3. default.nix.md
  17. 📝文档和心得体会
  18. 11. docs/
    1. 11.1. explanation/
      1. 11.1.1. buildtime-deps-runtime-deps.md
      2. 11.1.2. Describing Dependency
      3. 11.1.3. lua-pkgs-callPackage.md
      4. 11.1.4. Module
      5. 11.1.5. Nixpkgs
      6. 11.1.6. Zsh Completion in NixOS
    2. 11.2. howto/
      1. 11.2.1. 打包/编译32位程序
      2. 11.2.2. Auto Push Packages to Cachix
        1. 11.2.2.1. cachixPackage
        2. 11.2.2.2. Example for cachixPackage
      3. 11.2.3. 备份binary cache
      4. 11.2.4. 交叉编译和安装跨平台程序
      5. 11.2.5. 安装NixOS
      6. 11.2.6. How To Config Linux Kernel in Nix
      7. 11.2.7. Lua LSP Not Auto-Attaching: Root Cause Analysis
    3. 11.3. slides/
      1. 11.3.1. Nix让你的团队成员不再受环境问题困扰
  19. 📃Nix脚本(nix-shell和打包)
  20. 12. scripts/
    1. 12.1. bootstrap/
      1. 12.1.1. home-manager.nix.md
    2. 12.2. fhs-shell/
      1. 12.2.1. dynamorio.nix.md
      2. 12.2.2. hello.nix.md
      3. 12.2.3. pin.nix.md
      4. 12.2.4. spec.nix.md
      5. 12.2.5. x11.nix.md
      6. 12.2.6. xilinx.nix.md
    3. 12.3. pkgs/
      1. 12.3.1. TODO: 7z need dynamical link 7z.so
      2. 12.3.2. 在NixOS上使用Android程序
      3. 12.3.3. android.nix.md
      4. 12.3.4. appimage_runtime.nix.md
      5. 12.3.5. cachix_aarch64/
        1. 12.3.5.1. default.nix.md
      6. 12.3.6. coremarks.nix.md
      7. 12.3.7. cross_mips.nix.md
      8. 12.3.8. cross_static_hello.nix.md
      9. 12.3.9. etxlauncher.nix.md
      10. 12.3.10. fhs_helloworld.nix.md
      11. 12.3.11. fhs_spec2000_perl.nix.md
      12. 12.3.12. herdtools7.nix.md
      13. 12.3.13. nix-binary-tarballs-new.nix.md
      14. 12.3.14. nix-binary-tarballs.nix.md
      15. 12.3.15. nix-docker-isa/
        1. 12.3.15.1. 🐳Nix Docker🐋 for Multiple ISAs
        2. 12.3.15.2. dockers.nix.md
      16. 12.3.16. nvchad.nix.md
      17. 12.3.17. qemu-sys-static.nix.md
      18. 12.3.18. qemu-sys_riscv64_static.nix.md
      19. 12.3.19. qemu_riscv64_static.nix.md
      20. 12.3.20. qemu_static.nix.md
      21. 12.3.21. qemu_tests_tcg.nix.md
      22. 12.3.22. build by version
      23. 12.3.23. https://github.com/NixOS/nixpkgs/issues/185773
      24. 12.3.24. xiangshan.nix.md
    4. 12.4. shell/
      1. 12.4.1. LinkNan.nix.md
      2. 12.4.2. ccache.nix.md
      3. 12.4.3. chipyard.nix.md
      4. 12.4.4. cross_mips.nix.md
      5. 12.4.5. cross_platform.nix.md
      6. 12.4.6. devshell_hello.nix.md
      7. 12.4.7. gcc.nix.md
      8. 12.4.8. hello.nix.md
      9. 12.4.9. propagate/
        1. 12.4.9.1. child.nix.md
        2. 12.4.9.2. grandchild.nix.md
        3. 12.4.9.3. parent.nix.md
      10. 12.4.10. pygame.nix.md
      11. 12.4.11. https://nixos.wiki/wiki/Python
      12. 12.4.12. python_mach.nix.md
      13. 12.4.13. python_venv.nix.md
      14. 12.4.14. qemu_plugins.nix.md
      15. 12.4.15. qemu_tests_tcg.nix.md
      16. 12.4.16. riscv-tests.nix.md
      17. 12.4.17. spike.nix.md
      18. 12.4.18. texlive.nix.md
      19. 12.4.19. ucasproposal.nix.md
      20. 12.4.20. v8.nix.md
      21. 12.4.21. venv.nix.md
      22. 12.4.22. wine6.nix.md
  21. 📌其他
  22. 13. shell.nix

Xieby1's Nix/NixOS Config

opt.nix