NixOS Installation Guide: Difference between revisions

Ardenet (talk | contribs)
adjust translate tag's placement
Tags: Mobile edit Mobile web edit
Ardenet (talk | contribs)
Marked this version for translation
Tags: Mobile edit Mobile web edit
 
Line 139: Line 139:


<translate>
<translate>
<!--T:63-->
A very simple example setup is given here.
A very simple example setup is given here.


Line 176: Line 177:
=== Format partitions === <!--T:50-->
=== Format partitions === <!--T:50-->


<!--T:64-->
The example below uses the [[ext4]] filesystem format. If you wish to use other filesystem formats such as [[Btrfs]] or [[ZFS]]:  
The example below uses the [[ext4]] filesystem format. If you wish to use other filesystem formats such as [[Btrfs]] or [[ZFS]]:  


<!--T:65-->
* [[Bcachefs#NixOS installation on bcachefs]]
* [[Bcachefs#NixOS installation on bcachefs]]
* [[Btrfs#Installation of NixOS on btrfs]]
* [[Btrfs#Installation of NixOS on btrfs]]
Line 199: Line 202:
== NixOS configuration == <!--T:53-->
== NixOS configuration == <!--T:53-->


<!--T:66-->
NixOS is configured through a [[Overview of the NixOS Linux distribution#Declarative Configuration|declarative configuration]] file. To generate a default config file, run [[nixos-generate-config]]:
NixOS is configured through a [[Overview of the NixOS Linux distribution#Declarative Configuration|declarative configuration]] file. To generate a default config file, run [[nixos-generate-config]]:
</translate>
</translate>
Line 208: Line 212:


<translate>
<translate>
<!--T:67-->
For information on working with a system configuration, see [[NixOS system configuration]]. For desktop-specific configurations, see [[NixOS as a desktop]].
For information on working with a system configuration, see [[NixOS system configuration]]. For desktop-specific configurations, see [[NixOS as a desktop]].


<!--T:68-->
Most essential changes:
Most essential changes:


Line 222: Line 228:
=== Swap file === <!--T:52-->
=== Swap file === <!--T:52-->


<!--T:69-->
For additional methods of configuring swap, see [[Swap]]. The following example demonstrates how to create and enable a [[Swap#Swap file|swap file]]:
For additional methods of configuring swap, see [[Swap]]. The following example demonstrates how to create and enable a [[Swap#Swap file|swap file]]:
</translate>
</translate>
Line 235: Line 242:


<translate>
<translate>
=== Bootloader ===
=== Bootloader === <!--T:70-->


<!--T:71-->
NixOS supports multiple [[Bootloader|bootloaders]] such as [[GNU GRUB]] and [[Systemd/boot]].
NixOS supports multiple [[Bootloader|bootloaders]] such as [[GNU GRUB]] and [[Systemd/boot]].


<!--T:72-->
Systemd-boot is the recommended bootloader. The following example demonstrates how to enable systemd-boot in your configuration:
Systemd-boot is the recommended bootloader. The following example demonstrates how to enable systemd-boot in your configuration:
</translate>
</translate>
Line 249: Line 258:


<translate>
<translate>
<!--T:73-->
You may also wish to configure [[Secure Boot]].
You may also wish to configure [[Secure Boot]].


=== Users ===
=== Users === <!--T:74-->


<!--T:75-->
For information on creating and managing users, see [[User management]] and the {{NixOS Manual|name=NixOS Manual: Chapter - Package Management|anchor=#sec-user-management}}. See an example below:
For information on creating and managing users, see [[User management]] and the {{NixOS Manual|name=NixOS Manual: Chapter - Package Management|anchor=#sec-user-management}}. See an example below:
</translate>
</translate>
Line 275: Line 286:


<translate>
<translate>
<!--T:76-->
after installation: Run <code>passwd</code> to change user password.
after installation: Run <code>passwd</code> to change user password.