about summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/snipe-it.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-04-13nixos: remove all uses of lib.mdDocstuebinm1-29/+29
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
2023-10-26snipe-it: Convert to php.buildComposerPackageYaya1-6/+10
2023-10-20nixos: fix bad mkEnableOption descriptionsBjørn Forsman1-1/+1
Fix descriptions that don't account for (1) the "Whether to enable" prefix or (2) the automatically added trailing dot.
2023-07-05nixos/snipe-it: Use the pinned PHP packageYaya1-4/+5
As 3bb3859 bumped the default PHP version to 8.2, the snipe-it package has been pinned to PHP 8.1. This commit changes the php package used in the module to the one pinned by snipe-it.
2023-01-03nixos/snipe-it: Fix a bug in the setup script (#206869)Yaya1-2/+3
The `snipe-it-setup.service` script exits with an error if the invalid_barcode.gif already exists at the destination, due to `set -euo pipefail` at the beginning of the script. This commit refactors the affected lines so that it no longer causes an error. Resolves #205791
2022-12-17nixos: fix typosfigsoda1-1/+1
2022-11-09Merge pull request #194759 from hercules-ci/fqdn-or-hostnameRobert Hensing1-5/+2
nixos: Add `networking.fqdnOrHostName`
2022-10-28treewide: convert fake octal ints to stringsYorick van Pelt1-1/+1
These were being cast to strings later and then reinterpreted as octal.
2022-10-26Merge pull request #187270 from yayayayaka/snipe-it-add-missing-directorySandro1-15/+33
2022-10-24nixos/snipe-it: Add missing upload directoriesM. A1-15/+33
Resolves #187179
2022-10-06nixos/snipe-it: Refactor to use config.networking.fqdnOrHostNameRobert Hensing1-5/+2
2022-08-31nixos/*: md-convert hidden plaintext optionspennae1-1/+1
most of these are hidden because they're either part of a submodule that doesn't have its type rendered (eg because the submodule type is used in an either type) or because they are explicitly hidden. some of them are merely hidden from nix-doc-munge by how their option is put together.
2022-08-31nixos/*: automatically convert option descriptionspennae1-1/+1
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.
2022-08-12Merge pull request #185474 from pennae/option-docs-mdpennae1-38/+38
nixos/*: more options md conversion
2022-08-08nixos/snipe-it: Add private_uploads to tmpfilesM. A1-0/+1
Through testing Snipe-IT's backup feature I discovered that it expects the `${dataDir}/storage/private_uploads` folder to be present.
2022-08-06nixos/*: automatically convert option docspennae1-38/+38
2022-08-03nixos/*: replace <code> in option docs with <literal>pennae1-2/+2
markdown can't represent the difference without another extension and both the html manual and the manpage render them the same, so keeping the distinction is not very useful on its own. with the distinction removed we can automatically convert many options that use <code> tags to markdown. the manpage remains unchanged, html manual does not render differently (but class names on code tags do change from "code" to "literal").
2022-06-08nixos/snipe-it: Upgrade to PHP 8.1Elis Hirwing1-1/+1
They state that they support PHP 8.1: https://snipe-it.readme.io/docs/requirements
2022-05-10nixos/snipe-it: initLara1-0/+493
Snipe-IT is a free open source IT asset/license management system https://snipeitapp.com/