Eelco Dolstra
3e001244e4
Load the xfs kernel module on demand
2013-10-13 17:35:57 +02:00
Eelco Dolstra
ca3725bfc9
nixos-generate-config: Add --root option
...
If this option is given, nixos-generate-config will write the
configuration to /etc/nixos under the given root, and only emit
fileSystems attributes for filesystems under the given root directory.
The typically use case is at installation time, where you can say:
$ nixos-generate-config --root /mnt
which will create /mnt/etc/nixos/{configuration.nix,hardware-configuration.nix}.
Also add a --force flag to force overwriting configuration.nix.
2013-10-13 17:35:56 +02:00
Eelco Dolstra
3875dcdfeb
nixos-generate-config: Emit boot.initrd.availableKernelModules instead of kerneLmodules
2013-10-13 17:35:56 +02:00
Eelco Dolstra
57804f44ec
nixos-generate-config: Skip FUSE filesystems
...
I don't know how to recover that a FUSE filesystem is (say) ntfs-3g.
2013-10-13 17:35:56 +02:00
Eelco Dolstra
984921e657
nixos-generate-config: Emit fileSystems automatically
2013-10-13 17:35:56 +02:00
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
57ec8424e4
Drop <services> from $NIX_PATH
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
Domen Kožar
e28ddcfbec
Merge pull request #1063 from offlinehacker/nixos/graphite/listen_defaults_fix
...
nixos: graphite, listen on localhost by default
2013-10-12 12:23:34 -07:00
Domen Kožar
a8dd839c1f
Merge pull request #1067 from offlinehacker/nixos/statsd/mgmt_ip_port
...
nixos/statsd: Add support to specify managment ip/port
2013-10-12 12:23:11 -07:00
Domen Kožar
15608f6df6
Merge pull request #1068 from offlinehacker/nixos/elasticsearch/logfix
...
nixos/elasticsearch: change loglevel from DEBUG to INFO
2013-10-12 12:22:53 -07:00
Jaka Hudoklin
fd0d2872a4
nixos/elasticsearch: change loglevel from DEBUG to INFO
2013-10-12 12:43:33 +02:00
Jaka Hudoklin
285f447c49
nixos/statsd: Add support to specify managment ip/port
2013-10-12 12:37:52 +02:00
Jaka Hudoklin
677ecf4868
nixos/graphite: listen on localhost by default
2013-10-12 12:34:26 +02:00
Domen Kožar
cf3e36a3b9
bash: place interactiveShellInit at the end to be able to override existing settings
2013-10-11 11:55:58 +02:00
Shea Levy
a63b4dc555
Remove old efi boot stub bootloader
...
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-10-10 10:54:35 -04: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