Commit Graph

14 Commits

Author SHA1 Message Date
éclairevoyant
a60e4033ca
nixos/davfs2: ensure extraConfig and settings are mutually exclusive 2024-04-11 17:37:36 -04:00
éclairevoyant
10c5429290
nixos/davfs2: fix settings option 2024-04-11 17:37:36 -04:00
éclairevoyant
bd4d34650c
nixos/davfs2: refresh extraConfig example 2024-04-11 17:37:36 -04:00
éclairevoyant
0ac090f91a
nixos/davfs2: remove top-level with lib; 2024-04-11 17:37:36 -04:00
éclairevoyant
6cbffaae4c
nixos/davfs2: remove lib.mdDoc (no-op) 2024-04-11 17:37:36 -04:00
éclairevoyant
caa0cbab28
nixos/davfs2: clarify warning 2024-04-11 17:37:36 -04:00
éclairevoyant
0739d3c4c0
nixos/davfs2: fix the warning that deprecates extraConfig 2024-04-11 17:37:36 -04:00
Jonas Heinrich
8616aca59a nixos/davfs2: Convert extraConfig to freeform type 2024-03-31 15:27:21 +02:00
pennae
2e751c0772 treewide: automatically md-convert option descriptions
the conversion procedure is simple:

 - find all things that look like options, ie calls to either `mkOption`
   or `lib.mkOption` that take an attrset. remember the attrset as the
   option
 - for all options, find a `description` attribute who's value is not a
   call to `mdDoc` or `lib.mdDoc`
 - textually convert the entire value of the attribute to MD with a few
   simple regexes (the set from mdize-module.sh)
 - if the change produced a change in the manual output, discard
 - if the change kept the manual unchanged, add some text to the
   description to make sure we've actually found an option. if the
   manual changes this time, keep the converted description

this procedure converts 80% of nixos options to markdown. around 2000
options remain to be inspected, but most of those fail the "does not
change the manual output check": currently the MD conversion process
does not faithfully convert docbook tags like <code> and <package>, so
any option using such tags will not be converted at all.
2022-07-30 15:16:34 +02:00
Julien Moutinho
7e794a1da2 nixos/davfs2: wrap {,u}mount.davfs with setuid=true 2021-05-10 15:54:52 +02:00
rnhmjoj
1d61efb7f1 treewide: use attrs instead of list for types.loaOf options 2020-01-06 10:39:18 -05:00
Silvan Mosberger
478e7184f8
nixos/modules: Remove all usages of types.string
And replace them with a more appropriate type

Also fix up some minor module problems along the way
2019-08-31 18:19:00 +02:00
Florian Klink
fff5923686 nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
Georges Savoundararadj
9724654c74 davfs2: create user/group davfs2 if not specified in the configuration
* Add options:
  - enable
  - davUser (default: "davfs2")
  - davGroup (default: "davfs2)
* Add davfs2 user or group if they are not specified in the
configuration
2017-12-11 19:30:25 -08:00