mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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.
This commit is contained in:
parent
0307ab1f37
commit
56f8206b85
@ -36,7 +36,7 @@ in
|
|||||||
type = types.loaOf types.optionSet;
|
type = types.loaOf types.optionSet;
|
||||||
default = {};
|
default = {};
|
||||||
example = literalExample ''
|
example = literalExample ''
|
||||||
{ hosts =
|
{ example-configuration-file =
|
||||||
{ source = "/nix/store/.../etc/dir/file.conf.example";
|
{ source = "/nix/store/.../etc/dir/file.conf.example";
|
||||||
mode = "0440";
|
mode = "0440";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user