nix-*: add and update Korean translation (#23009)

This commit is contained in:
HoJeong Im
2026-06-28 21:40:11 +07:00
committed by GitHub
parent 5bda0392c3
commit e4018384f3
7 changed files with 126 additions and 5 deletions
+16
View File
@@ -0,0 +1,16 @@
# nix-channel
> `nix` 업데이트 채널 관리.
> 더 많은 정보: <https://nixos.wiki/wiki/Nix_channels>.
- 현재 채널 목록 표시:
`nix-channel --list`
- 채널 추가:
`nix-channel --add {{https://nixos.org/channels/nixpkgs-unstable}}`
- 모든 채널의 패키지 목록 업데이트:
`nix-channel --update`
+9 -5
View File
@@ -4,14 +4,18 @@
> 세대는 `nix-env --list-generations` 명령어로 나열할 수 있습니다.
> 더 많은 정보: <https://nix.dev/manual/nix/stable/command-ref/nix-collect-garbage.html>.
- 각 프로필의 현재 세대에서 사용되지 않는 모든 저장소 경로 삭제:
- 각 프로필의 현재 세대에서 사용하지 않는 모든 사용자 관련 store 경로 삭제:
`nix-collect-garbage --delete-old`
`nix-collect-garbage {{[-d|--delete-old]}}`
- 오래된 저장소 경로 삭제 시뮬레이션:
- 오래된 store 경로 삭제를 시뮬레이션:
`nix-collect-garbage --delete-old --dry-run`
`nix-collect-garbage {{[-d|--delete-old]}} --dry-run`
- 30일보다 오래된 모든 저장소 경로 삭제:
- 30일보다 오래된 모든 store 경로 삭제:
`nix-collect-garbage --delete-older-than 30d`
- 시스템 전체에서 각 프로필의 현재 세대에서 사용하지 않는 모든 store 경로 삭제:
`sudo nix-collect-garbage {{[-d|--delete-old]}}`
+28
View File
@@ -0,0 +1,28 @@
# nix eval
> Nix 표현식을 평가하고 결과를 `stdout`에 출력.
> 더 많은 정보: <https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-eval.html>.
- 현재 디렉터리의 Nix flake 속성을 평가:
`nix eval .#{{속성}}`
- 주어진 Nix 표현식 평가:
`nix eval --expr '{{자신의_표현식}}'`
- 지정한 파일의 Nix 표현식 평가:
`nix eval --file {{경로/대상/파일}}`
- nixpkgs에서 지정한 패키지의 store 경로 출력:
`nix eval {{nixpkgs#pkg}} --raw`
- GitHub의 flake에서 속성 평가:
`nix eval {{github:owner/repo#attributes}}`
- 지정한 패키지를 인수로 전달하여 람다 함수 평가:
`nix eval {{nixpkgs#pkg}} --apply '{{lambda_함수}}'`
+16
View File
@@ -0,0 +1,16 @@
# nix flake info
> flake 메타데이터를 표시.
> 더 많은 정보: <https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-flake-info>.
- 현재 디렉터리의 flake 메타데이터 표시:
`nix flake info`
- GitHub의 Flake 메타데이터를 한 줄 JSON으로 표시:
`nix flake info {{github:소유자/저장소}} --json --no-pretty`
- Github의 Flake 메타데이터를 들여쓰기된 여러 줄 JSON으로 표시:
`nix flake info {{github:소유자/저장소}} --json --pretty`
+12
View File
@@ -0,0 +1,12 @@
# nix flake init
> 템플릿을 사용하여 현재 디렉터리에 flake를 생성.
> 더 많은 정보: <https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-flake-init.html>.
- 기본 템플릿으로 현재 디렉터리에 새로운 flake 생성:
`nix flake init`
- 지정한 템플릿으로 새로운 flake 생성 (`nix flake show`에서 템플릿 정보 확인 가능):
`nix flake init {{[-t|--template]}} templates#{{자신의_템플릿}}`
+20
View File
@@ -0,0 +1,20 @@
# nix flake show
> flake가 제공하는 출력을 표시.
> 더 많은 정보: <https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-flake-show.html>.
- 현재 디렉터리의 flake 출력 모두 표시:
`nix flake show`
- GitHub의 flake 출력 모두를 한 줄 json으로 표시:
`nix flake show {{github:소유자/저장소}} --json --no-pretty`
- GitHub의 flake `legacyPackages` 출력 모두를 들여쓰기된 여러 줄 json으로 표시:
`nix flake show {{github:소유자/저장소}} --json --pretty --legacy`
- `nix flake init`에서 사용할 수 있는 모든 flake 템플릿 목록 표시:
`nix flake show templates`
+25
View File
@@ -0,0 +1,25 @@
# nix-instantiate
> nix 표현식으로부터 store derivation을 생성.
> 관련 항목: `nix eval`.
> 더 많은 정보: <https://nix.dev/manual/nix/latest/command-ref/nix-instantiate.html>.
- Nix 파일에서 store derivation을 생성:
`nix-instantiate {{경로/대상/파일.nix}}`
- 표현식 평가:
`nix-instantiate --eval {{[-E|--expr]}} {{표현식}}`
- 기계가 읽을 수 있는 형식으로 표현식 평가:
`nix-instantiate --eval --xml {{[-E|--expr]}} {{표현식}}`
- 원시(Raw) 출력으로 표현식을 평가(함수의 반환 값은 문자열이어야 함):
`nix-instantiate --eval --raw {{[-E|--expr]}} {{표현식}}`
- 지정한 파일의 Nix 표현식 평가:
`nix-instantiate --eval {{경로/대상/파일.nix}}`