diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-11-02 18:02:12 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-11-02 18:02:12 +0100 |
commit | 458f36f5f11170dead59ad4adda8146784d98208 (patch) | |
tree | f4ac9d012986376750aef9820adb207ae596d677 /doc | |
parent | 97f087cd447ef773cd15c6750df5aa24c633ea25 (diff) | |
download | nixpkgs-458f36f5f11170dead59ad4adda8146784d98208.tar nixpkgs-458f36f5f11170dead59ad4adda8146784d98208.tar.gz nixpkgs-458f36f5f11170dead59ad4adda8146784d98208.tar.bz2 nixpkgs-458f36f5f11170dead59ad4adda8146784d98208.tar.lz nixpkgs-458f36f5f11170dead59ad4adda8146784d98208.tar.xz nixpkgs-458f36f5f11170dead59ad4adda8146784d98208.tar.zst nixpkgs-458f36f5f11170dead59ad4adda8146784d98208.zip |
Turn fileSystems into an attribute set
So now you can write fileSystems = [ { mountPoint = "/"; device = "/dev/sda1"; } ]; as fileSystems."/".device = "/dev/sda1";
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/installation.xml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/manual/installation.xml b/doc/manual/installation.xml index 0a69ce0ecba..ed5348829c8 100644 --- a/doc/manual/installation.xml +++ b/doc/manual/installation.xml @@ -230,11 +230,7 @@ $ reboot</screen> { boot.loader.grub.device = "/dev/sda"; - fileSystems = - [ { mountPoint = "/"; - device = "/dev/disk/by-label/nixos"; - } - ]; + fileSystems."/".device = "/dev/disk/by-label/nixos"; swapDevices = [ { device = "/dev/disk/by-label/swap"; } ]; |