87c877fff8
nixos/mx-puppet-discord: move into matrix category
2023-01-16 06:23:25 +00:00
Dmitriy Kholkin
8e6f6d7db1
nixos/gitea: add tar.zst to the dump type
2023-01-16 03:34:11 +03:00
Jörg Thalheim
38d3031013
Merge pull request #210942 from GaetanLepage/autorandr
...
autorandr: 1.12.1 -> 1.13, nixos/services/autorandr: add ignoreLeadOption
2023-01-16 00:34:16 +01:00
Naïm Favier
7d3f7637c6
Merge pull request #210965 from Izorkin/fix-gitea
2023-01-15 21:50:58 +01:00
Izorkin
1fd7d52d82
nixos/gitea: fix creation of data directory
2023-01-15 21:33:21 +03:00
Maximilian Bosch
6f474d1af4
Merge pull request #209495 from amesgen/gitea-dump-activation
...
nixos/gitea: don't run gitea-dump on activation
2023-01-15 19:28:03 +01:00
Julien Malka
d32f9548cb
nixos/ntfy-sh: Create data folder and auth database
2023-01-15 17:34:23 +01:00
Gaetan Lepage
d599e734e5
autorandr: 1.12.1 -> 1.13, nixos/services/autorandr: add ignoreLeadOption
2023-01-15 16:57:13 +01:00
pennae
d6e464b4c5
Merge pull request #208983 from pennae/nixos-manual-md
...
nixos/manual: convert module chapters to markdown
2023-01-13 13:29:01 +01:00
Franz Pletz
b88913fb11
nixos/gitlab: set gitaly runtime dir
...
If `runtime_dir` is not set, gitaly will use `/tmp` as a place for sockets
and packed binaries like `git2go`. If the gitlab instance does not experience
much traffic and gitlay is not restarted regularly, systemd-tmpfiles will
remove the binaries. This breaks some gitlab functionality until gitaly is
restarted manually.
2023-01-13 11:26:52 +01:00
pennae
53fc887582
nixos/manual: move "edit the MD file" comments to generated XML
2023-01-10 12:34:37 +01:00
pennae
bf92eaebe4
nixos/manual: generate module chapters with md-to-db.sh
2023-01-10 10:32:00 +01:00
pennae
23ea73b416
nixos/manual: enable smart quotes for all MD chapters
2023-01-10 10:31:59 +01:00
pennae
8c17c417a1
nixos/weechat: convert manual chapter to MD
2023-01-10 10:31:57 +01:00
pennae
2928e0c487
nixos/taskserver: convert manual chapter to MD
2023-01-10 10:31:56 +01:00
pennae
0cc9d6cf5d
nixos/sourcehut: convert manual chapter to MD
2023-01-10 10:31:56 +01:00
pennae
73d8b04f30
nixos/gitlab: convert manual chapter to MD
2023-01-10 10:31:56 +01:00
pennae
d6fb4b0738
nixos/manual: replace <quote> with quotes
...
pandoc will turn them back into <quote> elements once we turn smart
quotes on (which we will not do at the start to keep diffs small).
2023-01-10 10:31:53 +01:00
pennae
22144ba269
nixos/manual: normalize <package> -> <literal>
...
markdown can only do <literal>, so normalize to that. without
auto-linking to a package index the distinction is not very useful anyway.
2023-01-10 10:31:52 +01:00
pennae
6930425922
nixos/manual: normalize <literal><link> -> <link><literal>
...
MD can only do the latter, so change them all over now to keeps diffs reviewable.
this also includes <literal><xref> -> <xref> where options are referenced since
the reference will implicitly add an inner literal tag.
2023-01-10 10:31:52 +01:00
pennae
80a78f2e1e
nixos/manual: remove links from program listings
...
markdown cannot represent those links. remove them all now instead of in
each chapter conversion to keep the diff for each chapter small and more
understandable.
2023-01-10 10:31:52 +01:00
Artturi
27c1ec2ecf
Merge pull request #209816 from Artturin/deprecate-top-level-platform-aliases
2023-01-09 22:15:50 +02:00
Artturin
2eeb34c273
treewide: {build,host,target}Platform -> stdenv.{build,host,target}Platform
2023-01-09 21:13:22 +02:00
Ratchanan Srirattanamet
86b48684bb
nixos/zoneminder: automatically update Nix store path in config DB
...
ZM has a configuration which defaults to a file in its installaton path.
In NixOS, this means a Nix store path is persisted into the database,
which will break when e.g. ZM is upgraded.
Workaround this by doing a regular expression-based string replacement
SQL command to replace this value. The regular expression should not
match if users has changed this config to somewhere else. It will match
even if ZM isn't upgraded, in which case it'll replace the value with
itself. As such, it should be safe to run this at every ZM startup.
2023-01-09 02:00:52 +07:00
Ratchanan Srirattanamet
8093c136a2
nixos/zoneminder: requires sysvsem
PHP extension
...
This is used in ZoneMinder since some time ago [1]. Without this
extension, controling of playback (play, pause, fast forward, etc.) will
not work.
[1] https://github.com/ZoneMinder/zoneminder/issues/2261#issuecomment-433129559
2023-01-09 02:00:52 +07:00
Ratchanan Srirattanamet
4c64355fa3
nixos/zoneminder: also run zmupdate "freshen" on start
...
-f "freshen the configuration in the database", which will matter when
ZoneMinder adds a new configuration item [1]. Although it can also be
run without a new configuration item too; upstream's Debian postinst
code always run it on upgrade [2].
[1] e.g. https://forums.zoneminder.com/viewtopic.php?p=127220
[2] https://github.com/ZoneMinder/zoneminder/blob/master/distros/ubuntu2004/zoneminder.postinst#L45
2023-01-09 02:00:51 +07:00
K900
337d358300
nixos/n8n: disable telemetry by default
...
Originally intended to just speed up the tests, but probably a good idea in general.
2023-01-08 14:43:53 +03:00
amesgen
a429cecd3c
nixos/gitea: don't run gitea-dump on activation
2023-01-07 15:50:36 +01:00
Aneesh Agrawal
2fc8504223
nixos/etebase-server: Leverage $PATH
...
This simplifies the existing module
but also enables consumers to call `etebase-server`
from custom preStart commands (i.e. user creation commands).
2023-01-07 12:20:03 +01:00
pennae
9da5f12ecf
modules: add mkPackageOptionMD
...
another transitional option factory, like mkAliasOptionModuleMD.
2023-01-05 02:33:13 +01:00
Alexandre Iooss
80d6a33ba6
nixos/nitter: wait for online network
2023-01-04 08:17:39 +01:00
Luke Granger-Brown
5a236902c3
Merge pull request #208723 from gador/paperless-ngx-add-poppler
...
paperless-ngx: fix build
2023-01-02 22:36:05 +00:00
Florian Brandes
b406baead8
nixos/paperless-ngx: reorder "after" keyword
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-01-02 16:25:34 +01:00
Florian Brandes
5b6881f4a0
nixos/paperless-ngx: fix startup order
...
The nixOS test failed sporadically with a timeout.
This is due to a race condition in the startup of
the scheduler vs the task-queue.
The scheduler runs the migration scripts in "pre-start" and
celery isn't available, yet. The celery worker (paperless-task-queue)
was already started by systemd but was unable to connect
(as the migration scripts from "pre-start" still ran).
This fix adds the necessary "after" condition in the systemd
worker unit and adds a test to "paperless"
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2023-01-02 15:21:45 +01:00
Maximilian Bosch
0cd88dbc60
nixos/gitea: adapt configs for 1.18
...
Co-authored-by: Izorkin <izorkin@elven.pw>
2023-01-02 11:19:04 +01:00
Naïm Favier
c72f5995e4
Merge pull request #205933 from ncfavier/nix-auto-allocate-uids
2023-01-01 14:18:25 +01:00
Robert Hensing
834f0d660a
lib.strings: isMoreCoercibleString -> isConvertibleWithToString
...
Yes, this function name is inconveniently long, but it is important
for the name to explicitly reference the function and not be mistaken
for the implicit string conversions, which only happen for a smaller
set of values.
2022-12-31 01:33:47 +01:00
Robert Hensing
fed5dc66f8
treewide: isCoercibleToString -> isMoreCoercibleToString
...
No change in behavior.
2022-12-31 01:03:24 +01:00
Artturi
a65df1ed0b
Merge pull request #193894 from amjoseph-nixpkgs/pr/nixos/arch-without-inferiors
2022-12-28 15:08:09 +02:00
Sandro
ad8ae1b208
Merge pull request #207754 from leona-ya/paperless-ngx/fix-module-1.10.2
...
fixes https://github.com/NixOS/nixpkgs/issues/207965
2022-12-28 01:05:49 +01:00
Michal Sojka
3708ee280b
nixos/nix-daemon: fix typo
2022-12-26 20:45:13 +01:00
Leona Maroni
2d7b8ef56f
nixos/paperless: update for paperless-ngx 1.10.2
2022-12-25 23:07:44 +00:00
Lily Foster
7def7250be
nixos/nix-daemon: fix isCoercibleToString typo
...
It isn't exported at the top-level lib and needs to be qualified.
2022-12-24 13:34:06 -05:00
Sandro
2f9691a8af
nixos/nitter: fix enable option description
...
Whether to enable If enabled, start Nitter.. -> Whether to enable Nitter.
2022-12-23 00:11:49 +01:00
Joscha Loos
52e9ddd345
nixos/gollum: <add option for user and group options>
2022-12-19 13:57:13 +01:00
figsoda
6bb0dbf91f
nixos: fix typos
2022-12-17 19:31:14 -05:00
Sandro
c338bf3244
Merge pull request #205712 from devusb/atuin-server
2022-12-16 22:38:35 +01:00
Morgan Helton
a935888d45
nixos/atuin: init module
2022-12-15 21:07:15 -06:00
Wanja Zaeske
e0839d420b
address some of the points mentioned in #206260
...
Namely, after 87942da
moved the `sssd.conf`, some modules weren't updated. This
removes the section that still points to the previous file location.
2022-12-15 17:31:22 +01:00
Matt Melling
e2b79f08bd
gpsd: add listenany option
2022-12-14 18:37:15 +01:00
Naïm Favier
cf5ab0191d
nixos/nix-daemon: remove nixbld users if auto-allocating UIDs
...
https://nixos.org/manual/nix/unstable/command-ref/conf-file.html#conf-auto-allocate-uids
2022-12-13 17:16:30 +01:00
Naïm Favier
0ff3b35356
nixos/doc: fix some options
2022-12-08 17:52:52 +01:00
Bobby Rong
d44e752fba
Merge pull request #204474 from peperunas/libreddit
...
libreddit: Add package option to module
2022-12-08 19:49:11 +08:00
Daniel Nagy
ad866e565d
treewide: switch to port type for nixos modules
2022-12-08 00:00:00 +01:00
Giulio De Pasquale
34ddff29a4
libreddit: Add package option
2022-12-04 14:00:17 +01:00
Daniel Nagy
dbe8182e74
treewide: switch to port type for nixos modules
2022-12-01 22:30:00 +01:00
Felix Buehler
6de9ec5969
nixos/octoprint: add openFirewall option
2022-12-01 17:38:08 +01:00
Ryan Lahfa
40b71c3e93
nixos/redmine: add missing lib.mdDoc ( #203952 )
2022-12-01 17:37:16 +01:00
figsoda
5195ca2346
Merge pull request #203826 from figsoda/lint
...
nixos/*: apply some lints from statix and nil
2022-12-01 11:20:11 -05:00
Ryan Lahfa
9f6a1541c7
Merge pull request #198592 from winterqt/remove-dispatchsrht
...
sourcehut.dispatchsrht: remove
2022-12-01 16:18:07 +01:00
Ryan Lahfa
78ef5b8663
Merge pull request #171930 from felixsinger/module/redmine/add-component-configs
...
nixos/redmine: Rework module
2022-12-01 15:35:08 +01:00
Ryan Lahfa
cc11eea79d
Merge pull request #195671 from amarshall/rename-readonlystore
...
nixos: nix.readOnlyStore -> boot.readOnlyNixStore
2022-12-01 15:06:23 +01:00
Ryan Lahfa
1c5443f6cd
Merge pull request #203183 from teutat3s/fix/gitea-needs-gpg-in-path
...
gitea: needs gnupg in its path to sign commits
2022-12-01 14:29:34 +01:00
Andrew Marshall
c88944f025
nixos: nix.readOnlyStore -> boot.readOnlyNixStore
...
The placement of this option under `nix` was misleading, as it is not
configuration of the Nix daemon, but rather configuration of the NixOS
boot process and how it mounts the Nix store. As such, make it an option
of `boot` to clarify what it actually affects, and imply that it will
only take effect on a reboot.
Since it no longer has the context of nix, adjust the name to include
it.
2022-11-30 22:57:08 -05:00
Naïm Favier
e989ef9671
Merge pull request #203595 from ncfavier/registry-paths
2022-12-01 01:01:30 +01:00
figsoda
f97daa68bc
nixos/gammu-smsd: remove unnecessary parentheses
2022-11-30 18:12:53 -05:00
Naïm Favier
bcb5f0decc
nixos/nix-daemon: allow registry paths to be... paths
...
Currently paths are handled by `types.package`, whose semantics are a
bit of a mess. In particular, it converts path values to derivations
using `toDerivation`, which will lead to problems when flake `outPath`s
become paths in https://github.com/NixOS/nix/pull/6530 .
This change makes the "incompatible changes" section in the above PR
obsolete: `nix.registry.nixpkgs.flake = nixpkgs;` works as expected (the
flake is copied to the store).
2022-11-29 14:18:04 +01:00
Jonas Heinrich
11fdcb163e
Merge pull request #202541 from yayayayaka/gitlab-15.6.0
...
gitlab: 15.4.4 -> 15.6.0
2022-11-28 20:07:40 +01:00
teutat3s
6033e4e5ed
gitea: needs gnupg in its path to sign commits
...
See: https://docs.gitea.io/en-us/signing/#installing-and-generating-a-gpg-key-for-gitea
2022-11-27 15:01:32 +01:00
Martin Weinelt
2882a76651
nixos/pinnwand: convert to freeform type, drop reaper unit
2022-11-27 13:50:44 +01:00
M. A
6b3629a3a2
Revert "nixos/gitlab: Use Git 2.35.x to work around git bug"
...
This reverts commit f94d14899d70150abcf2823e243524397b0c1806.
git 2.35.x became unsupported by gitaly and makes the gitaly systemd
service fail.
2022-11-23 15:18:19 +00:00
Zhaofeng Li
385081693e
nixos/moonraker: Don't allow Moonraker to validate its systemd service
...
Our service files are managed by NixOS and different from
the upstream setup. If this is not disabled, Moonraker will
want sudo access to modify the service files directly.
2022-11-19 13:37:37 -07:00
Zhaofeng Li
9411ea9214
nixos/moonraker: Remove database_path
...
The database_path setting has been deprecated upstream. The database
now lives in `database` under the unified data path. It's same as the
path we've been forcing:
<362bc1a3d3/moonraker/components/database.py (L83)
>
2022-11-19 13:37:37 -07:00
Zhaofeng Li
7856ac79ac
nixos/moonraker: Deprecate configDir
...
The config_path setting has been deprecated upstream. Mutable
config files are now supposed to live under the unified data path.
2022-11-19 13:37:37 -07:00
Zhaofeng Li
7658372185
nixos/moonraker: Pass -d (data-path) to moonraker
...
Moonraker now stores a few more paths under data-path which defaults
to $HOME.
2022-11-19 13:37:37 -07:00
Zhaofeng Li
ce86df4a21
nixos/moonraker: Add zhaofengli as maintainer
2022-11-19 13:37:37 -07:00
Martin Weinelt
7478655ee7
Merge pull request #198631 from fedeinthemix/fix-languagetool
2022-11-12 15:18:10 +01:00
Daniel Nagy
b4674b39c1
treewide: use mkEnableOption
in nixos modules
2022-11-10 09:30:00 +01:00
Daniel Nagy
095269c862
treewide: use types.port
in nixos modules
2022-11-10 09:30:00 +01:00
Anderson Torres
3a73976c74
Merge pull request #200388 from babbaj/remove-ethminer
...
ethminer: remove
2022-11-09 12:06:28 -03:00
Babbaj
9a7c359a35
ethminer: remove
2022-11-09 09:37:35 -05:00
Robert Hensing
abd4e9d524
Merge pull request #199572 from SuperSandro2000/nix-daemon-io-prio
...
nixos/nix-daemon: don't give daemon by default high io priority
2022-11-07 12:26:47 +01:00
Bobby Rong
59727943df
Merge pull request #196877 from luochen1990/fix-synergy-server-tls
...
synergy: fix services.synergy.server.tls.cert (#196867 )
2022-11-06 17:41:02 +08:00
Dominique Martinet
01ff1dd23f
logrotate service: cleanup deprecated options
2022-11-05 10:34:03 +09:00
Sandro
8017d9e2da
nixos/nix-daemon: don't give daemon by default high io priority
...
According to https://www.freedesktop.org/software/systemd/man/systemd.exec.html#IOSchedulingClass= the default is 4
2022-11-04 22:07:05 +01:00
Winter
8538873dab
sourcehut.dispatchsrht: remove
...
dispatch has been deprecated since August (see https://sourcehut.org/blog/2022-08-01-dispatch-deprecation-plans/ ).
2022-11-01 22:04:40 -04:00
Julien Moutinho
e1930cf933
nixos/sourcehut: removing myself from maintainers
...
Sourcehut is too complex, fast moving and RAM hungry for me.
I'll make do with gitolite and public-inbox for now.
2022-11-01 21:56:37 -04:00
Federico Beffa
06bc65dd16
nixos/languagetool: fix startup configuration option
2022-10-29 18:05:53 +02:00
Yorick van Pelt
af4a43e36a
treewide: convert fake octal ints to strings
...
These were being cast to strings later and then reinterpreted as
octal.
2022-10-28 17:23:44 +02:00
Rafal Proszowski
2c9700acf0
nixos/sonarr: add package option
2022-10-27 08:49:23 -04:00
Sandro
dd2451126e
Merge pull request #188464 from xeals/fix/portinus-configuration
2022-10-27 00:52:08 +02:00
MidAutumnMoon
f4342c11e5
nixos/geoipupdate: set proper SystemCallFilter
2022-10-25 16:45:49 +08:00
MidAutumnMoon
e04013af1a
nixos/gitea: set proper SystemCallFilter
...
remove trailing whitespace
2022-10-24 22:18:42 +10:00
Linus Heckemann
79ec5f2d2b
Merge pull request #161124 from Atemu/nixos/nix-skip-all-checks
...
nixos/nix-daemon: make checkConfig fully disable nix.conf validation
2022-10-23 07:55:06 +02:00
github-actions[bot]
c434165354
Merge master into staging-next
2022-10-21 00:05:50 +00:00
Sandro
c9719e7fd6
Merge pull request #189269 from Tom-Hubrecht/ntfy-sh
2022-10-20 20:50:34 +02:00
LuoChen
b9d9daf749
synergy: fix services.synergy.server.tls.cert ( #196867 )
2022-10-20 12:34:45 +08:00
Tom Hubrecht
bbf5ba11b4
nixos/ntfy-sh: init
2022-10-19 02:20:16 +02:00
Atemu
bf6d84958d
rl-2211: document nix.checkConfig option changes
...
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-10-18 21:43:52 +02:00
Atemu
ef70bdd10f
nixos/nix-daemon: make checkConfig fully disable nix.conf validation
...
A new option checkAllErrors is introduced which implements the old checkConfig
toggle behaviour
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-10-18 21:42:31 +02:00
Artturi
e66d2fd89d
Merge pull request #194256 from Artturin/treewides2
2022-10-13 00:08:01 +03:00
Martin Weinelt
cf7f4393f3
Merge pull request #193494 from NixOS/staging-next
2022-10-11 01:12:59 +02:00
Sandro
e7625f9130
Merge pull request #195418 from Baitinq/description_in_gitolite_module
2022-10-11 00:51:48 +02:00
Baitinq
01faaeb4bd
nixos/gitolite: add 'description' module option
...
This option allows for the customization of the description of the
created gitolite user.
An example of this being useful is for the integration of gitolite with
cgit, which itself uses the gitolite user's description as the author of
the git repo displayed in its generated site.
2022-10-10 23:14:46 +02:00
Artturin
7e49471316
treewide: optional -> optionals where the argument is a list
...
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
github-actions[bot]
8972888c55
Merge master into staging-next
2022-10-09 12:01:31 +00:00
talyz
fae653deb4
nixos/gitlab: Configure ActionCable
...
ActionCable is used to provide realtime updates in a few places,
mainly the issue sidebar.
2022-10-09 08:12:19 +02:00
talyz
9b3ff51c77
nixos/gitlab: Set a more appropriate type for extraConfig
2022-10-09 08:12:19 +02:00
talyz
58158100f7
nixos/gitlab: Make sure docker-registry starts after cert generation
2022-10-09 08:12:19 +02:00
talyz
8e8253ddb4
nixos/gitlab: Create registry state path
2022-10-09 08:12:19 +02:00
talyz
3dedfb3fa0
nixos/gitlab: Connect to redis through a unix socket by default
...
This gives us slightly higher security as you have to be in the gitlab
group to connect, and possibly a (very small) performance benefit as
well.
2022-10-09 08:12:19 +02:00
talyz
843082eb3a
nixos/gitlab: Add findutils to runtime dependencies
...
Needed for the gitlab:cleanup:orphan_job_artifact_files rake task.
2022-10-09 08:12:19 +02:00
talyz
bee6e1dafa
nixos/gitlab: Deduplicate runtime dependency listing
2022-10-09 08:12:19 +02:00
talyz
0211edd1ff
nixos/gitlab: Add workhorse.config option
2022-10-09 08:12:19 +02:00
Martin Weinelt
253ca4957d
Merge remote-tracking branch 'origin/master' into staging-next
2022-10-05 00:44:16 +02:00
Sandro
1385382014
Merge pull request #191532 from ambroisie/add-tandoor-recipes
2022-10-03 20:25:06 +02:00
Bruno BELANYI
d8b1d34806
nixos/tandoor-recipes: init module
2022-10-03 09:48:54 +02:00
Adam Joseph
d3b65938d4
nixos/../nix-daemon.nix: allow architectures with no inferiors
2022-10-01 04:34:44 -07:00
github-actions[bot]
7170a03e58
Merge master into staging-next
2022-09-30 00:07:38 +00:00
Sandro
00b86b69f0
Merge pull request #193009 from SuperSandro2000/nix-daemon-localhost
2022-09-29 23:38:05 +02:00
github-actions[bot]
9d19287993
Merge master into staging-next
2022-09-29 18:03:40 +00:00
Linus Heckemann
3f7fa3fe68
Merge pull request #193404 from evrim/master
...
nix-daemon module: fix mandatoryFeatures in nix.buildMachines
2022-09-29 15:48:05 +02:00
void
6349a7d15b
nix-daemon module: fix mandatoryFeatures in nix.buildMachines
2022-09-29 00:35:17 +03:00
github-actions[bot]
f18d801779
Merge staging-next into staging
2022-09-28 18:05:53 +00:00
Martin Weinelt
7da8d25d87
Merge remote-tracking branch 'origin/master' into staging-next
2022-09-28 17:15:11 +02:00
Alexander Bantyev
3814271800
Merge pull request #188273 from cab404/klipper-mutable-config
...
klipper: additional config options
2022-09-28 04:12:05 +04:00
Artturin
6910a4eea0
treewide: makeWrapper to nativeBuildInputs
...
this should be all of them other than the failed splices
found with nixpkgs-lint
2022-09-26 17:53:26 +03:00
Sandro Jäckel
2970778928
nixos/nix-daemon: allow removing protocol for hydra
2022-09-26 11:50:19 +02:00
github-actions[bot]
ef833a6fd2
Merge master into staging-next
2022-09-23 12:01:34 +00:00
cab
e46430d503
nixos.moonraker: version change fixes
...
Old config locations were deprecated
https://moonraker.readthedocs.io/en/latest/configuration/#option-moved-deprecations .
Also, added PrivateTmp to accomodate for logs being unconditionally
written there.
2022-09-23 11:17:54 +04:00
cab
849c40b5f5
klipper: additional options
...
This allows for easier interop with Moonraker, as well as giving an
ability to store klipper configuration files in /var/lib/klipper, thus not
littering /etc with all the backups SAVE_CONFIG does.
- Added `configFile` as an alternative way to specify configuration
- Added `isMutableConfig` and `mutableConfigPath`
Co-authored-by: @lovesegfault <bernardo@meurer.org>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Bernardo Meurer <bernardo@meurer.org>
2022-09-23 03:10:28 +04:00
Erik Arvstedt
ecacff35a6
nixos/paperless: add required syscall
...
`unpaper` requires syscall 238 (`set_mempolicy`).
Add this by un-blocking the systemd syscall filter set `@resources`
which is safe in the context of paperless.
2022-09-22 08:14:21 +02:00
Jairo Llopis
a7a94811e3
nixos/nix-daemon: support machine protocol
...
Make ssh-ng:// users happier.
@moduon MT-904
2022-09-18 00:05:35 +02:00
Sandro
c1831f6c90
Merge pull request #182329 from linsui/safeeyes
...
safeeyes: fix double wrap
2022-09-14 12:30:09 +02:00
Erik Arvstedt
fdead18e9e
nixos/paperless: use python from pkg for gunicorn
...
This ensures that a compatible `gunicorn` is used when `pkg` is
overridden.
2022-09-12 09:20:53 +02:00
Luke Granger-Brown
9974dcfc20
Merge pull request #190717 from lukegb/paperless-tz
...
nixos/paperless: fix time.timeZone setting
2022-09-11 22:45:25 +01:00
Sandro
30ec7dc641
Merge pull request #156232 from B4dM4n/nixos-tests-mediatomb
2022-09-11 18:18:10 +02:00
Luke Granger-Brown
55d9a2c596
nixos/paperless: fix time.timeZone setting
...
This attribute set isn't passed through the NixOS config resolution
mechanism, which means that we can't use lib.mkDefault here.
Instead, just put it before any user overrides so that if the user
specifies this environment variable it'll just override it anyway.
2022-09-11 15:01:47 +01:00
Jörg Thalheim
67db9b4ad1
Merge pull request #190695 from Mic92/gollum
...
nixos/gollum: add package option
2022-09-10 18:27:29 +02:00
pennae
d98322834b
nixos/*: fix docbook deprecation notices
...
mostly no rendering changes except in buildkite, which used markdown
where docbook was expected without marking up its markdown.
2022-09-10 18:23:13 +02:00
Jörg Thalheim
6a66cf1b90
nixos/gollum: add package option
2022-09-10 17:57:08 +02:00
Fabian Möller
f3e08ac0b1
nixos/mediatomb: wait for network-online.target
2022-09-05 16:03:01 +02:00
Erik Arvstedt
783f8f16c1
paperless: move PYTHONPATH
definition to module
...
`paperless-ngx.pythonPath` was incomplete due to the missing paperless-ngx
source, so it had to be amended in the service.
Instead of amending it, define it entirely in the service.
This allows an override of `paperless-ngx.propagatedBuildInputs` to be reflected
in the service's PYTHONPATH.
2022-09-05 14:50:45 +02:00
Erik Arvstedt
310b9fe58d
nixos/paperless: extract variable pkg
2022-09-05 10:03:59 +02:00
Martin Weinelt
f98011803e
nixos/paperless: Restrict CAP_NET_BIND_SERVICE
...
Handing CAP_NET_BIND_SERVICE to the `paperless-web.service` only makes
sense when it actually wants to bind to a port < 1024. Don't hand it out
if that is not the case.
2022-09-04 16:24:24 +02:00
Martin Weinelt
2d257f8101
nixos/paperless: Add pgsql via unix socket example
...
Finding out how to connect paperless to a PostgreSQL database via unix
sockets and peer authentication took me a few minutes, so leaving a hint
in the extraConfig example seems like a good idea to me.
Also remove unnecessary use of literalExpression for attribute set, it
is only required for complex values like functions or values that depend
on other values or packages.
2022-09-04 16:16:46 +02:00
Martin Weinelt
81a17f7352
nixos/paperless: Use system timezone by default, if set
2022-09-04 16:16:46 +02:00
Martin Weinelt
94f00041f0
nixos/paperless: Allow mbind syscall in paperless-web.services
...
After uploading a document through the webinterface I started seeing
it killed through the SYSBUS signal. Inspecting the call trace led me to
liblapack's memory allocator, that uses the mbind syscall on Linux.
2022-09-04 16:16:45 +02:00
Federico Beffa
8be4e9e2ec
nixos/service/languagetool: init
2022-09-03 16:48:43 +02:00
Caleb Chase
f8c0d9e66d
portunus: fix maintainers bug
2022-09-02 22:25:56 -05:00
Sandro
5e515466a9
Merge pull request #180149 from WilliButz/gitlab-module/fix-registry-issuer
2022-09-02 00:16:22 +02:00
pennae
1d41cff3dc
nixos/*: convert straggler options to MD
2022-08-31 17:27:38 +02:00
pennae
f2ea09ecbe
nixos/*: convert options with listings
...
minor rendering changes.
2022-08-31 17:27:36 +02:00
pennae
722b99bc0e
nixos/*: convert options with admonitions to MD
...
rendering changes only slightly, most changes are in spacing.
2022-08-31 16:36:16 +02:00
pennae
9547123258
nixos/*: convert internal option descriptions to MD
...
we'll have to do it eventually, may as well be now.
2022-08-31 16:32:54 +02:00
pennae
ef176dcf7e
nixos/*: automatically convert option descriptions
...
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-31 16:32:53 +02:00
pennae
1013069f52
nixos/*: convert more partially-md option descriptions
...
this mostly means marking options that use markdown already
appropriately and making a few adjustments so they still render
correctly. notable for nftables we have to transform the md links
because the manpage would not render them correctly otherwise.
2022-08-31 16:32:14 +02:00
Christian Kögler
0b6ffe6511
Merge pull request #188362 from pcpthm/fix-nix-registry-flake
...
nixos/nix-daemon: Add missing parentheses
2022-08-27 22:33:17 +02:00
Bernardo Meurer
a53ad0ca15
Merge pull request #188513 from Sciencentistguy/plex-pidfile
...
nixos/plex: specify PIDFile in systemd service
2022-08-27 17:27:01 -03:00
pennae
51a11254a7
nixos/*: literalDocBook -> literalMD
...
no change to rendered output
2022-08-27 19:18:29 +02:00
Jamie Quigley
e8f1b09014
nixos/plex: specify PIDFile in systemd service
2022-08-27 17:23:44 +01:00
xeals
836505dee4
nixos/portunus: fix specification of client secret
...
Environment variables are only expanded in *Env variables.
Ref dexidp/dex#1664
2022-08-27 17:44:38 +10:00
xeals
5a9b7f4514
nixos/portunus: fix typo in option usage
2022-08-27 17:39:29 +10:00
pcpthm
f7922cb328
nixos/nix-daemon: Add missing parenthesis
...
When `nix.registry.<name>.flake` option is used, additional attributes of the flake were not written to the flake registry file because of a missing parenthesis.
2022-08-26 15:53:59 +09:00
pennae
6039648c50
nixos/*: automatically convert option docs
2022-08-19 22:40:58 +02:00
pennae
7e7d68a250
nixos/*: mark pre-existing markdown descriptions as mdDoc
2022-08-19 22:40:58 +02:00
pennae
b51f8036c2
nixos/*: use properly indented strings for option docs
...
using regular strings works well for docbook because docbook is not as
whitespace-sensitive as markdown. markdown would render all of these as
code blocks when given the chance.
2022-08-19 22:40:58 +02:00
pennae
72b507d5a2
nixos/*: convert some markdown in docbook to tags
...
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.
2022-08-19 22:40:58 +02:00
pennae
275a34e0d8
nixos/nix-daemon: replace <uri> with <literal>
...
this could've been a link as well, but <uri> did not render as a link in
the html manual.
2022-08-19 22:40:58 +02:00
pennae
d0ba463fcf
nixos/*: replace <quote> with actual quotes
2022-08-19 22:40:58 +02:00
pennae
2646fd7c1b
nixos/*: remove <productname>
...
no change to the rendered output, and we can't properly represent this
in markdown anyway.
2022-08-19 22:40:58 +02:00
pennae
e4ed177f82
nixos/* eliminate inner whitespace in tags that was missed earlier
...
nix-doc-munge won't match tags that contain newlines anywhere. most of
these have already been removed, but a few obviously made it through.
2022-08-19 22:40:58 +02:00
pennae
8f8e101527
nixos/*: normalize <package> to <literal>
...
this renders the same in the manpage and a little more clearly in the
html manual. in the manpage there continues to be no distinction from
regular text, the html manual gets code-type markup (which was probably
the intention for most of these uses anyway).
2022-08-19 22:40:58 +02:00
Maximilian Bosch
6a1263503c
Merge pull request #185803 from Ma27/sssd-secrets
...
nixos/sssd: Add secrets handling (patch originally from @yayayayaka)
2022-08-18 20:51:41 +02:00
Maximilian Bosch
5ec8223e63
nixos/sssd: explain why we use EnvironmentFile=
2022-08-18 11:38:49 +02:00
Maximilian Bosch
8d92d42c5c
nixos/sssd: fix typo
2022-08-18 11:34:06 +02:00
Sandro
a9f3c22db5
Merge pull request #182382 from SuperSandro2000/portunus
2022-08-17 15:20:45 +02:00
Thomas Watson
9c52987b51
nixos/spice-webdavd: init
2022-08-14 12:28:05 -05:00
linsui
f411f4ae7a
safeeyes: fix double wrap
2022-08-14 09:31:22 +08:00
pennae
50f9b3107a
Merge pull request #185474 from pennae/option-docs-md
...
nixos/*: more options md conversion
2022-08-12 23:23:26 +02:00
Sandro
df97735064
Merge pull request #173669 from SuperSandro2000/gitea
2022-08-12 15:33:46 +02:00
Richard Marko
9ba8f7d8b3
services/klipper: add CPUScheduling and IOScheduling tuning
2022-08-12 17:31:02 +08:00
Richard Marko
1410d89398
nixos/klipper: add OOMScoreAdjust -999
...
to make it unlikely that klipper gets killed by OOM killer.
2022-08-12 17:31:02 +08:00
Winter
ce63730df8
Update nixos/modules/services/misc/tautulli.nix
2022-08-11 22:49:50 -04:00
Ryan Horiguchi
feba340314
nixos/tautulli: add option to open firewall
2022-08-11 22:49:50 -04:00
Lara
87942da08e
nixos/sssd: Add secrets handling
...
Currently, it is not possible to supply sensitive credentials like
`ldap_default_authtok` without writing them to the nix store. This
This commit introduces a new option `environmentFile` where those
credentials can be supplied via environment substitution.
2022-08-09 17:28:37 +02:00
Sandro Jäckel
49da90755b
nixos/portunus: init
2022-08-08 19:14:50 +02:00
mlyxshi
228a897afd
Update nitter.nix
2022-08-07 22:50:42 -07:00
pennae
087472b1e5
nixos/*: automatically convert option docs
2022-08-06 20:39:12 +02:00
pennae
423545fe48
nixos/*: normalize manpage references to single-line form
...
now nix-doc-munge will not introduce whitespace changes when it replaces
manpage references with the MD equivalent.
no change to the manpage, changes to the HTML manual are whitespace only.
2022-08-05 18:34:50 +02:00
pennae
93c57a9884
Merge pull request #185056 from pennae/option-docs-md
...
nixos/*: more option docs conversions
2022-08-05 17:36:49 +02:00
Sandro
77cbd6d51d
Merge pull request #184619 from SuperSandro2000/gitit
2022-08-04 11:53:26 +02:00
Sandro Jäckel
ffbccb20bd
nixos/gitea: convert simple settings to freeform settings
2022-08-04 11:44:02 +02:00
Sandro Jäckel
236b053413
nixos/gitea: fix statix warnings
2022-08-04 11:42:39 +02:00
pennae
61e93df189
nixos/*: automatically convert option docs to MD
...
once again using nix-doc-munge (69d080323a
)
2022-08-03 22:46:41 +02:00
pennae
3aebb4a2be
nixos/*: normalize link format
...
make (almost) all links appear on only a single line, with no
unnecessary whitespace, using double quotes for attributes. this lets us
automatically convert them to markdown easily.
the few remaining links are extremely long link in a gnome module, we'll
come back to those at a later date.
2022-08-03 21:57:46 +02:00
pennae
16102dce2f
nixos/*: replace <code> in option docs with <literal>
...
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-08-03 21:03:23 +02:00
pennae
694d5b19d3
nixos/*: replace </para><para> with double linebreaks
...
our xslt already replaces double line breaks with a paragraph close and
reopen. not using explicit para tags lets nix-doc-munge convert more
descriptions losslessly.
only whitespace changes to generated documents, except for two
strongswan options gaining paragraph two breaks they arguably should've
had anyway.
2022-08-03 20:39:21 +02:00
pennae
6b13dd0e9e
Merge pull request #183491 from pennae/automatic-md-conversions
...
treewide: automatically md-convert option descriptions
2022-08-02 02:15:30 +02:00
Sandro Jäckel
f7522d6b56
nixos/gitit: use programs from path
2022-08-02 00:55:48 +02:00