Jump to content

Nixos-generate-config: Difference between revisions

From NixOS Wiki
imported>Chrissound
Created page with "This command analyzes your hardware configuration and generates two files of: configuration.nix hardware-configuration.nix Notes: If you are using an SSD it may be useful to..."
(No difference)

Revision as of 10:53, 25 November 2018

This command analyzes your hardware configuration and generates two files of: configuration.nix hardware-configuration.nix

Notes:

If you are using an SSD it may be useful to enable TRIM support as well as set filesystem flags to improve the SSD performance:

fileSystems."/".options = [ "noatime" "nodiratime" "discard" ];

(apologies have no idea how to format the above...)