sternenseemann
4942248a40
nixos/man-db: add package option
2021-12-31 11:17:34 +01:00
sternenseemann
f4f7238860
nixos/mandoc: init
...
Adds a NixOS module which allows using mandoc as the main manual
viewer. It can be used as a drop-in replacement for documentation.man
which relies on GNU's man-db and provides more or less the same
features.
The generateCaches option requires a different implementation for
mandoc, so it is hard to share code between the two modules -- hence it
has been implemented separately. Using both at the same time makes
little sense and wouldn't quite work, so there's an assertion to
prevent it.
To make makewhatis(8) index manual pages which are symlinks to the nix
store, we need to set READ_ALLOWED_PATH to include
`builtins.storeDir`. For background and discussion see:
https://inbox.vuxu.org/mandoc-tech/c9932669-e9d4-1454-8708-7c8e36967e8e@systemli.org/T/
2021-12-31 11:17:34 +01:00
sternenseemann
bcc4c34640
nixos/documentation: properly reference apropos(1), mention man -k
...
man -k is useful to mention as it is -- in constrast to apropos(1) --
actually required by POSIX.
2021-12-31 11:17:34 +01:00
sternenseemann
6a3d020b90
nixos/documentation: move man-db-specifics into new man-db module
...
It may be possible to revert the move of `documentation.man.manualPages`
later. The problem is that other man implementations (mandoc) want to
generate their index databases in place, so the approach taken here
doesn't translate super well.
2021-12-31 11:17:34 +01:00
Graham Christensen
06edb74413
Merge pull request #148785 from pennae/more-option-doc-staticizing
...
treewide: more defaultText for options
2021-12-17 11:14:08 -05:00
pennae
e24a8775a8
treewide: set defaultText for options using simple path defaults
...
adds defaultText for all options that set their default to a path expression
using the ubiquitous `cfg` shortcut bindings.
2021-12-09 01:12:13 +01:00
ajs124
eee45bb295
Merge pull request #146815 from ElvishJerricco/systemd-utils-expressions
...
Move systemd-lib.nix and systemd-unit-options.nix into utils
2021-12-08 15:07:28 +00:00
Silvan Mosberger
490d46f044
Merge pull request #148315 from hercules-ci/nixos-evalModules-legacy-cleanup
...
NixOS/evalModules legacy cleanup
2021-12-07 18:30:52 +01:00
Artturi
779a657e37
Merge pull request #148649 from Artturin/sgxgid
...
nixos: add sgx group with gid 304
2021-12-06 17:05:00 +02:00
Artturin
fc4df13e26
nixos: add sgx group with gid 304
...
fix Unknown group 'sgx', ignoring message from udev
2021-12-05 01:37:43 +02:00
pennae
2512455639
nixos/*: add trivial defaultText for options with simple defaults
2021-12-02 22:35:04 +01:00
Robert Hensing
1a223857ab
nixos/documentation: Use new extendModules instead of legacy args
2021-12-02 18:23:43 +00:00
Sandro
39b1caa278
Merge pull request #146345 from SuperSandro2000/locate-pruneBindMounts
2021-11-30 21:16:25 +01:00
Sandro
1841f5f81c
Merge pull request #146336 from SuperSandro2000/locate-fs
2021-11-30 18:06:10 +01:00
Peng Mei Yu
ce4ad53e6a
nixos/webdav-server-rs: init
2021-11-30 10:19:14 +08:00
sternenseemann
55c7dfade0
nixos/documentation: index devman by default if enabled
...
It's quite ridiculous that we currently require manual intervention just
to have devman indexed if dev.enable == true.
2021-11-22 23:39:42 +01:00
Will Fancher
851495a752
Move systemd-lib.nix and systemd-unit-options.nix into utils
2021-11-20 17:52:29 -05:00
Sandro
d09e223320
Merge pull request #146344 from SuperSandro2000/locate-prune-names
2021-11-18 21:02:37 +01:00
Sandro Jäckel
5287d0146d
nixos/locate: PRUNE_BIND_MOUNTSFR -> PRUNE_BIND_MOUNTS
...
PRUNE_BIND_MOUNTSFR seems to be a typo.
The man page only mentions it in a header and further in the paragraph
it is PRUNE_BIND_MOUNTS.
Also breaks plocate which complains about the unknown option.
2021-11-17 04:26:42 +01:00
Sandro
4c138f6bd6
nixos/locate: exclude by default version control systems and .cache
...
follows Debian and Ubuntu
2021-11-17 04:19:53 +01:00
Sandro
129c47ae88
nixos/locate: include missing filesystems
...
taken from Ubuntu config
2021-11-17 02:55:36 +01:00
Sandro
a0d2a3efbb
nixos/locate: ignore nix logs
2021-11-17 02:50:02 +01:00
Vanilla
75ec332e6a
kippo: cleanup the corresponding broken module.
2021-10-08 14:10:49 +08:00
Michele Guerini Rocco
66b6bd0072
Merge pull request #139765 from eyJhb/bitlbee-user-group
...
nixos/bitlbee: added bitlbee to bitlbee group
2021-10-06 08:57:33 +02:00
eyjhb
f4c69e198c
nixos/bitlbee: switched to systemd DynamicUser
2021-10-05 09:52:09 +02:00
Naïm Favier
2ddc335e6f
nixos/doc: clean up defaults and examples
2021-10-04 12:47:20 +02:00
Timothy DeHerrera
895f3956d2
Merge pull request #127933 from rnhmjoj/qemu-restoration
...
Qemu restoration
2021-09-28 21:35:23 -06:00
Doron Behar
6cd8d67251
Merge pull request #117890 from milahu/patch-3
...
locate.nix: write /etc/updatedb.conf
2021-09-28 16:03:21 +00:00
Guillaume Girol
f0fac59a17
nixos/tpm2: remove tss static gid
2021-09-20 16:24:33 +00:00
Austin Butler
b88b46b830
nixos/tcsd: make group uid dynamic
2021-09-19 12:42:46 -07:00
rnhmjoj
e4e5d4d899
nixos/documentation: always show qemu-vm options
2021-09-18 16:58:16 +02:00
Guillaume Girol
af5ba65b9f
nixos/nntp-proxy: define group, fix after #133166
2021-09-18 14:42:08 +02:00
Guillaume Girol
fa3664a176
nixos/logcheck: define group, fix after #133166
2021-09-18 14:42:08 +02:00
Guillaume Girol
cd2b24c306
nixos/heapster: define group, fix after #133166
2021-09-18 14:42:08 +02:00
Guillaume Girol
9e94e48b94
nixos/gammu-smsd: define group, fix after #133166
2021-09-18 14:42:08 +02:00
Guillaume Girol
ca2db671ba
nixos/cgminer: define group, fix eval after #133166
2021-09-18 14:42:08 +02:00
Guillaume Girol
615db90f3d
nixos/openntpd, nixos/ntp: define group, fix after #133166
2021-09-18 14:42:08 +02:00
Guillaume Girol
88b4ba2169
nixos/unifi: define group, fix after #133166
2021-09-18 14:42:08 +02:00
Guillaume Girol
8ba5f8115c
nixos/zope2: define group
...
untested as the module is broken (attribute 'modules' missing)
2021-09-18 12:00:00 +00:00
Guillaume Girol
23d14d89b8
nixos/tvheadend: define group, fix eval after #133166
2021-09-18 12:00:00 +00:00
Guillaume Girol
fd04a872bc
nixos/toxvpn: define group, fix eval after #133166
2021-09-18 12:00:00 +00:00
Guillaume Girol
d09ab77588
nixos/shout: define group, fix eval after #133166
2021-09-18 12:00:00 +00:00
Guillaume Girol
feeca7dd55
nixos/rippled: define group, fix eval after #133166
2021-09-18 12:00:00 +00:00
Guillaume Girol
a654d779fe
nixos/ripple-data-api: define group
...
required after #133166
untested, the module is broken by the removal of couchdb
2021-09-18 12:00:00 +00:00
Guillaume Girol
6cf8b27fd6
nixos/rdnssd: define group; fix after #133166
2021-09-18 12:00:00 +00:00
Sandro
5795c33bdd
Merge pull request #138051 from ehmry/tox-bootstrapd
2021-09-16 20:02:02 +02:00
Sandro
4f78c74b57
nixos/documentation: use full option names
2021-09-15 22:43:44 +02:00
Emery Hemingway
0721aa49a3
nixos/tox-bootstrapd: use DynamicUser
2021-09-15 22:01:56 +02:00
Guillaume Girol
eb328077c3
nixos/vsftpd: allocate group; fix fallout of #133166
2021-09-14 12:00:00 +00:00
Guillaume Girol
3592034595
Merge pull request #133166 from symphorien/nonogroup
...
Don't default to nogroup for the primary group of users.
2021-09-13 18:29:21 +00:00