nioxs/etc: improve docs for file ownership (#378659)

authored by

Jörg Thalheim and committed by
GitHub
0d553b5a 685f1329

+16 -6
+16 -6
nixos/modules/system/etc/etc.nix
··· 194 194 default = "+${toString config.uid}"; 195 195 type = lib.types.str; 196 196 description = '' 197 - User name of created file. 198 - Only takes effect when the file is copied (that is, the mode is not 'symlink'). 199 - Changing this option takes precedence over `uid`. 197 + User name of file owner. 198 + 199 + Only takes effect when the file is copied (that is, the 200 + mode is not `symlink`). 201 + 202 + When `services.userborn.enable`, this option has no effect. 203 + You have to assign a `uid` instead. Otherwise this option 204 + takes precedence over `uid`. 200 205 ''; 201 206 }; 202 207 ··· 204 209 default = "+${toString config.gid}"; 205 210 type = lib.types.str; 206 211 description = '' 207 - Group name of created file. 208 - Only takes effect when the file is copied (that is, the mode is not 'symlink'). 209 - Changing this option takes precedence over `gid`. 212 + Group name of file owner. 213 + 214 + Only takes effect when the file is copied (that is, the 215 + mode is not `symlink`). 216 + 217 + When `services.userborn.enable`, this option has no effect. 218 + You have to assign a `gid` instead. Otherwise this option 219 + takes precedence over `gid`. 210 220 ''; 211 221 }; 212 222