NixOS as a desktop: Difference between revisions
Make this page worthy of being linked to from the front page, complete rewrite and restructuring |
m update flake link to new page |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 17: | Line 17: | ||
=== System Configuration === | === System Configuration === | ||
{{main|NixOS system configuration}} | |||
The primary configuration file, <code>/etc/nixos/configuration.nix</code>, defines system-wide settings. This includes options like enabling services, managing system users, setting hardware options, and specifying installed packages. Changes are applied with: | The primary configuration file, <code>/etc/nixos/configuration.nix</code>, defines system-wide settings. This includes options like enabling services, managing system users, setting hardware options, and specifying installed packages. Changes are applied with: | ||
| Line 35: | Line 37: | ||
For users looking for a more streamlined and reproducible way to manage NixOS configurations, the [[Flakes]] feature has been gaining popularity within the community. While Flakes introduce some new concepts compared to traditional workflows, many users find them a convenient and organized approach to managing system and development configurations. | For users looking for a more streamlined and reproducible way to manage NixOS configurations, the [[Flakes]] feature has been gaining popularity within the community. While Flakes introduce some new concepts compared to traditional workflows, many users find them a convenient and organized approach to managing system and development configurations. | ||
Refer to [[ | Refer to [[NixOS system configuration#Defining NixOS as a flake]] for details on getting started. | ||
== Beyond initial setup == <!--T:21--> | == Beyond initial setup == <!--T:21--> | ||
| Line 84: | Line 86: | ||
=== Modularizing your configuration with modules === <!--T:13--> | === Modularizing your configuration with modules === <!--T:13--> | ||
{{main|NixOS system configuration#Modularizing your configuration with modules}} | |||
== See also == <!--T:23--> | == See also == <!--T:23--> | ||