Skip to content

Commit

Permalink
feat: nix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan4yin committed Mar 5, 2024
1 parent 7ab2a14 commit f0a01a5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions linux/nix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@

我的 nix 配置:[ryan4yin/nix-config](https://github.com/ryan4yin/nix-config)

## disk encryption
## 实用

查询为什么某个包被安装,当前环境中的谁依赖了它:

1. ` nix-store --gc --print-roots | rg -v '/proc/' | rg -Po '(?<= -> ).*' | xargs -o nix-tree`
1. `/<package-name>` 以查找到你想查询的包
1. 输入 `w`,看看谁依赖了它(`why depends on this`

<https://github.com/ryan4yin/nix-config/tree/nixos-install>

## devbox 调研

Expand Down

0 comments on commit f0a01a5

Please sign in to comment.