NixOS: Difference between revisions

imported>Ixxie
Undo revision 1374 by Ixxie (talk)
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>:


<syntaxhighlight lang="nix">
{{file|/etc/nixos/configuration.nix|nix|<nowiki>
{ config, pkgs, ... }:  
{ config, pkgs, ... }:  


Line 84: Line 84:
      
      
}
}
</syntaxhighlight>
</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]].