NixOS: Difference between revisions
imported>Ixxie |
imported>Samueldr m Use {{file}} template (first code block only) |
||
Line 34: | Line 34: | ||
The following is an example <code>/etc/nixos/configuration.nix</code>: | The following is an example <code>/etc/nixos/configuration.nix</code>: | ||
< | {{file|/etc/nixos/configuration.nix|nix|<nowiki> | ||
{ config, pkgs, ... }: | { config, pkgs, ... }: | ||
Line 84: | Line 84: | ||
} | } | ||
</ | </nowiki>}} | ||
For inspiration, a variety of NixOS configuration files made by community members can be found in the [[Configuration Collection]]. | For inspiration, a variety of NixOS configuration files made by community members can be found in the [[Configuration Collection]]. |