diff options
author | stuebinm | 2024-06-04 21:14:49 +0200 |
---|---|---|
committer | stuebinm | 2024-06-04 21:14:49 +0200 |
commit | d27e67743931d352e5857b605d44657668fa9013 (patch) | |
tree | bad8f97e5f47e791f7f6a3e0b94ef45b5ff0e131 /modules/bookwyrm.nix | |
parent | 9bf026e55b72af7aa14096440537fefddc56c212 (diff) |
all: jump to nixpkgs 24.05
this does a lot of things, most of which are maintenance:
- sources update
- adjust newly-renamed options
- swap some packages that were removed / renamed
- update nomsring to newer default ghc
- remove the deprecated lib.mdDoc from modules/*.nix
- disable the nixpkgs mollysocket module so my own keeps evaluating
- bundle the package definition of hikari & wlroots 0.15, which nixpkgs
has removed as unmaintained (in fairness, they are unmaintained)
Diffstat (limited to '')
-rw-r--r-- | modules/bookwyrm.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/bookwyrm.nix b/modules/bookwyrm.nix index b57636d..5adc498 100644 --- a/modules/bookwyrm.nix +++ b/modules/bookwyrm.nix @@ -11,7 +11,7 @@ in settings = mkOption { default = {}; type = types.attrsOf (types.oneOf [ types.bool types.str types.int ]); - description = mdDoc '' + description = '' Settings passed to bookwyrm via environment variables. See bookwyrm's [.env.example](https://github.com/bookwyrm-social/bookwyrm/blob/v0.7.2/.env.example) file for what is permissible here. @@ -21,7 +21,7 @@ in package = mkOption { default = pkgs.bookwyrm.override { inherit (cfg) settings; }; type = types.package; - description = mdDoc '' + description = '' The bookwyrm package to use. Note that this includes the settings .env file; if you set this directly, settings set via {option}`services.bookwyrm.settings` will be ignored. @@ -31,7 +31,7 @@ in stateDir = mkOption { default = "/var/lib/bookwyrm"; type = types.path; - description = mdDoc '' + description = '' Where bookwyrm keeps dynamic data (in practice, exclusively book covers?) when not configured to use an S3-compatible storage. This should be persistent storage, otherwise you will have missing book covers and no obvious way to re-download them @@ -42,7 +42,7 @@ in bindAddress = mkOption { default = "0.0.0.0"; type = types.str; - description = mdDoc '' + description = '' Address bookwyrm should bind to. ''; }; @@ -50,7 +50,7 @@ in port = mkOption { default = 8000; type = types.port; - description = mdDoc '' + description = '' Port bookwyrm should listen on. ''; }; @@ -58,7 +58,7 @@ in threads = mkOption { default = 8; type = types.int; - description = mdDoc '' + description = '' Number of threads that gunicorn should spawn. ''; }; @@ -66,7 +66,7 @@ in setupNginx = mkOption { default = false; type = types.bool; - description = mdDoc '' + description = '' Whether to set up a simple nginx config to server bookwyrm's `static/` and `image` directories. ''; @@ -75,7 +75,7 @@ in nginxVirtualHost = mkOption { default = "default"; type = types.str; - description = mdDoc '' + description = '' The name of the nginx virtual host to set up. ''; }; @@ -83,7 +83,7 @@ in installWrapper = mkOption { default = true; type = types.bool; - description = mdDoc '' + description = '' Whether to install a wrapper script `bookworm-manage.py` into the system environmnt, which calls bookwyrm's `manage.py` script with the correct python path. ''; @@ -92,7 +92,7 @@ in environmentFile = mkOption { default = null; type = types.nullOr types.path; - description = mdDoc '' + description = '' An environment file containing config options which should not be set via Nix / not be contained in the nix store. ''; |