Eelco Dolstra
677d9882b0
nixos-generate-config: Generate swapDevices
2013-10-13 17:35:56 +02:00
Eelco Dolstra
440fe8f05d
Use read_file from File::Slurp
2013-10-13 17:35:56 +02:00
Eelco Dolstra
ac13bd2575
Merge "nixos-option --install" into nixos-generate-config
...
Having configuration.nix generation hidden underneath nixos-option
never made sense, also given that there was another command to
generate part of the configuration (nixos-hardware-scan). Now
nixos-generate-config produces both configuration.nix and
hardware-configuration.nix. The latter is overwritten while the
former is not.
2013-10-13 17:35:55 +02:00
Eelco Dolstra
fd0fd49d36
nixos-generate-config: Write to /etc/nixos/hardware.nix rather than stdout
2013-10-13 17:35:55 +02:00
Eelco Dolstra
3ed41735b8
Rename nixos-hardware-scan to nixos-generate-config
2013-10-13 17:35:55 +02:00
Eelco Dolstra
4b28f28028
Remove unused file
2013-10-13 17:35:55 +02:00
Eelco Dolstra
f42d494355
Refactor variable names
2013-10-13 17:35:55 +02:00
Eelco Dolstra
ef72fcc2aa
Map --help flag to "man <command>" for more NixOS commands
2013-10-13 17:35:55 +02:00
Eelco Dolstra
f1a03addae
nixos-rebuild: Let --help invoke "man nixos-rebuild"
2013-10-13 17:35:54 +02:00
Eelco Dolstra
2be774ccfa
Set .version-suffix properly when building from Git
2013-10-13 17:35:54 +02:00
Eelco Dolstra
c8628e0989
nixos-checkout: Only fetch the Nixpkgs repo
2013-10-10 13:28:22 +02:00
Eelco Dolstra
31203732b3
Update the release expressions and the channel generators
2013-10-10 13:28:22 +02:00
Eelco Dolstra
041da5a6f9
Unify the Nixpkgs and NixOS version numbers
2013-10-10 13:28:22 +02:00
Eelco Dolstra
5c1f8cbc70
Move all of NixOS to nixos/ in preparation of the repository merge
2013-10-10 13:28:20 +02:00