1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 21:15:32 +02:00

nixos-rebuild: add example for list-generations command (#16313)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
This commit is contained in:
Peter Bittner 2025-05-08 04:45:49 +02:00 committed by GitHub
parent d3d6b60e6d
commit f40f1fd57c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 2 deletions

View file

@ -9,7 +9,7 @@
- Gib der neu erstellten Standardkonfiguration einen Namen:
`sudo nixos-rebuild switch -p {{name}}`
`sudo nixos-rebuild switch {{[-p|--profile-name]}} {{name}}`
- Erstelle und wechsle zu einer neuen Konfiguration, nutze diese künftig als Standardkonfiguration und installiere Updates:
@ -30,3 +30,7 @@
- Erstelle die Konfiguration und öffne diese in einer virtuellen Maschine:
`sudo nixos-rebuild build-vm`
- Liste die verfügbaren Generationen wie im Bootloader-Menü auf:
`nixos-rebuild list-generations`

View file

@ -9,7 +9,7 @@
- 새로운 설정을 빌드하고 전환하며, 부팅 기본값으로 설정하고 부팅 항목 이름 지정:
`sudo nixos-rebuild switch -p {{이름}}`
`sudo nixos-rebuild switch {{[-p|--profile-name]}} {{이름}}`
- 새로운 설정을 빌드하고 전환하며, 부팅 기본값으로 설정하고 업데이트 설치:
@ -30,3 +30,7 @@
- 설정을 빌드하고 가상 머신에서 열기:
`sudo nixos-rebuild build-vm`
- 부트로더 메뉴에서와 같이 사용 가능한 세대를 나열합니다:
`nixos-rebuild list-generations`

View file

@ -30,3 +30,7 @@
- Build the configuration and open it in a virtual machine:
`sudo nixos-rebuild build-vm`
- List available generations similar to the boot loader menu:
`nixos-rebuild list-generations`