diff options
author | Graham Christensen <graham@grahamc.com> | 2016-04-27 10:27:52 -0500 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2016-04-27 10:27:52 -0500 |
commit | 56f8206b859698cd3d8fe6f53c93e59a5aaf86bc (patch) | |
tree | 84d65159bcbe2d410a7cd15023d69694967bf3d0 /nixos | |
parent | 0307ab1f3743cc0bc0c4a0439dcd5df0c68f8605 (diff) | |
download | nixlib-56f8206b859698cd3d8fe6f53c93e59a5aaf86bc.tar nixlib-56f8206b859698cd3d8fe6f53c93e59a5aaf86bc.tar.gz nixlib-56f8206b859698cd3d8fe6f53c93e59a5aaf86bc.tar.bz2 nixlib-56f8206b859698cd3d8fe6f53c93e59a5aaf86bc.tar.lz nixlib-56f8206b859698cd3d8fe6f53c93e59a5aaf86bc.tar.xz nixlib-56f8206b859698cd3d8fe6f53c93e59a5aaf86bc.tar.zst nixlib-56f8206b859698cd3d8fe6f53c93e59a5aaf86bc.zip |
Update `etc` example to not use a real config file
A user noticed the example for `hosts`, took the `mode` permissions literally, and ended up with surprising behavior on their system. Updating the documentation to not reference a real config file which might have real permissions requirements.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/etc/etc.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/etc/etc.nix b/nixos/modules/system/etc/etc.nix index 9d5b3db472c3..163f4f4106e8 100644 --- a/nixos/modules/system/etc/etc.nix +++ b/nixos/modules/system/etc/etc.nix @@ -36,7 +36,7 @@ in type = types.loaOf types.optionSet; default = {}; example = literalExample '' - { hosts = + { example-configuration-file = { source = "/nix/store/.../etc/dir/file.conf.example"; mode = "0440"; }; |