about summary refs log tree commit diff
path: root/nixos/modules/services/networking/nix-serve.nix
Commit message (Collapse)AuthorAge
* treewide: use `mkPackageOption`h7x42023-11-27
| | | | | This commit replaces a lot of usages of `mkOption` with the package type, to be `mkPackageOption`, in order to reduce the amount of code.
* nixos/nix-serve: fix module compatibility with unflaked NixVincent Ambo2023-11-23
| | | | | The option `extra-allowed-users` was introduced in Nix 2.4, and fails config validation on Nix 2.3.
* nixos/nix-serve: also set extra-allowed-usersJörg Thalheim2023-11-12
| | | | | This fixes the case where users enable nix-serve but also have allowed-users set. Having extra-allowed-users is a no-op when nix.settings.allowed-users is set to "*" (the default)
* nixos/nix-serve: add package optionalyaeanyx2022-09-25
|
* nixos/*: convert options with listingspennae2022-08-31
| | | | minor rendering changes.
* nixos/*: automatically convert option descriptionspennae2022-08-31
| | | | | | | | | | | | conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
* nixos/*: convert some markdown in docbook to tagspennae2022-08-19
| | | | | | | a lot of markdown syntax has already snuck into option docs, many of it predating the intent to migrate to markdown. we don't convert all of it here, just that which is accompanied by docbook tags as well. the rest can be converted by simply adding the mdDoc marker.
* treewide: automatically md-convert option descriptionspennae2022-07-30
| | | | | | | | | | | | | | | | | | | | | | 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.
* nixos/nix-serve: add openFirewall optionInternetUnexplorer2022-01-17
|
* nix-serve: fix NIX_SECRET_KEY_FILEArtturin2021-12-02
|
* nixos/nix-serve: don't run as nogroupJörg Thalheim2021-07-18
| | | | nogroup is insecure if shared
* nixos/nix-serve: use `port` typeDaniel Nagy2021-06-18
|
* nixos/modules: Remove all usages of types.stringSilvan Mosberger2019-08-31
| | | | | | And replace them with a more appropriate type Also fix up some minor module problems along the way
* Merge pull request #56004 from eskimor/add-nix-serve-helpJörg Thalheim2019-02-21
|\ | | | | nixos-nix-serve: Add some hint on howto get valid signing keys.
| * Add some hint on howto get valid signing keys.Robert Klotzner2019-02-20
| |
* | nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink2018-06-30
| |
* | nix-serve: nix 2.0 fixesvolth2018-03-05
| |
* | treewide: Use correct output of config.nix.package in non-string contextsTuomas Tynkkynen2016-04-25
| |
* | nixos/nix-serve: use bzip2.bin outputThomas Tuegel2016-02-07
|/
* Change argument --port to --listen in nix-serve.nixRobbin C2015-11-13
|
* nixos/nix-serve: Run as a separate user and add a signing key parameterWilliam A. Kennington III2015-06-17
|
* nix-serve: Add nixos moduleTuomas Tynkkynen2015-05-14
This allows sharing the Nix store of the machine as a binary cache simply by setting 'services.nix-serve.enable = true'.